Re: Project Euclid Problem 26 SOLVED!!!

Liste des GroupesRevenir à ol advocacy 
Sujet : Re: Project Euclid Problem 26 SOLVED!!!
De : Physfitfreak (at) *nospam* gmail.com (Physfitfreak)
Groupes : comp.os.linux.advocacy
Date : 09. Mar 2024, 22:42:58
Autres entêtes
Message-ID : <usihki$15j79$1@solani.org>
References : 1 2 3
User-Agent : Mozilla Thunderbird
On 3/9/2024 2:01 PM, Diego Garcia wrote:
You have to enter this code into Maxima/wxMaxima and then you'll
see the complete answer.
Sadism :)
That Coke contest, which turned out requiring ordering from Walmart before it happens.
But thanks for the answer.
It's not clear what algorithm you used that was better than brute force, but brute force also is not that bad in this case. There aren't that many denominators under 1000 that have primes other than 2 or 5 as factors. That reduces the loop count dramatically. And among what remains, one can eliminate, very fast, cases of low number of repeating decimals unless a very large number is stumbled upon early in the loop.
Then the brute force on the remainder of the cases will advance pretty well to find the longest repeating decimals.
I was expecting that some cases would have repetitions much larger than 982 decimals, so I'm kind of suspicious of the answer you got. But I can't think of a way to test its accuracy in being the maximum.
I wish there was a chart I could look up, giving denominator integers (with prime factors other than 2 and 5) as its x axis and max number of repeating decimals as the y axis. With x interval going to about a million or even a billion. It probably would need to be a logarithmic chart to contain the results in a page. But one could get a nice idea how this thing goes by taking a look at that. Are there surprises early on for smaller integers, or big numbers begin to show only later on in the chart for larger integers. If such plot doesn't show surprises, then I'd take your result as accurate. Otherwise, it remains suspect to me.
--
This email has been checked for viruses by Avast antivirus software.
www.avast.com

Date Sujet#  Auteur
9 Mar 24 * Project Euclid Problem 26 SOLVED!!!32Farley Flud
9 Mar 24 +- Re: Project Euclid Problem 26 SOLVED!!!1Farley Flud
9 Mar 24 +- Re: Project Euclid Problem 26 SOLVED!!!1Farley Flud
9 Mar 24 `* Re: Project Euclid Problem 26 SOLVED!!!29Physfitfreak
9 Mar 24  +* Re: Project Euclid Problem 26 SOLVED!!!18Diego Garcia
9 Mar 24  i`* Re: Project Euclid Problem 26 SOLVED!!!17Physfitfreak
9 Mar 24  i +- Re: Project Euclid Problem 26 SOLVED!!!1Physfitfreak
9 Mar 24  i +- Re: Project Euclid Problem 26 SOLVED!!!1Physfitfreak
9 Mar 24  i +- Re: Project Euclid Problem 26 SOLVED!!!1Stéphane CARPENTIER
9 Mar 24  i +- Re: Project Euclid Problem 26 SOLVED!!!1Farley Flud
10 Mar 24  i `* Re: Project Euclid Problem 26 SOLVED!!!12Farley Flud
10 Mar 24  i  `* Re: Project Euclid Problem 26 SOLVED!!!11Physfitfreak
10 Mar 24  i   +- Re: Project Euclid Problem 26 SOLVED!!!1Farley Flud
11 Mar 24  i   `* Re: Project Euclid Problem 26 SOLVED!!!9Farley Flud
11 Mar 24  i    +* Re: Project Euclid Problem 26 SOLVED!!!2Nuxxie
12 Mar 24  i    i`- Re: Project Euclid Problem 26 SOLVED!!!1DFS
11 Mar 24  i    +* Re: Project Euclid Problem 26 SOLVED!!!2Physfitfreak
11 Mar 24  i    i`- Re: Project Euclid Problem 26 SOLVED!!!1Farley Flud
12 Mar 24  i    `* Re: Project Euclid Problem 26 SOLVED!!!4Nuxxie
12 Mar 24  i     `* Re: Project Euclid Problem 26 SOLVED!!!3Physfitfreak
12 Mar 24  i      `* Re: Project Euclid Problem 26 SOLVED!!!2Farley Flud
13 Mar 24  i       `- Re: Project Euclid Problem 26 SOLVED!!!1Physfitfreak
9 Mar 24  `* Re: Project Euclid Problem 26 SOLVED!!!10DFS
9 Mar 24   +* Re: Project Euclid Problem 26 SOLVED!!!8Diego Garcia
9 Mar 24   i+* Re: Project Euclid Problem 26 SOLVED!!!4Stéphane CARPENTIER
9 Mar 24   ii`* Re: Project Euclid Problem 26 SOLVED!!!3Farley Flud
12 Mar 24   ii `* Re: Project Euclid Problem 26 SOLVED!!!2DFS
12 Mar 24   ii  `- Re: Project Euclid Problem 26 SOLVED!!!1candycanearter07
9 Mar 24   i+* Re: Project Euclid Problem 26 SOLVED!!!2DFS
9 Mar 24   ii`- Re: Project Euclid Problem 26 SOLVED!!!1Stéphane CARPENTIER
10 Mar 24   i`- Re: Project Euclid Problem 26 SOLVED!!!1Physfitfreak
9 Mar 24   `- Re: Project Euclid Problem 26 SOLVED!!!1Stéphane CARPENTIER

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal