Re: Project Euclid Problem 26 SOLVED!!!

Liste des GroupesRevenir à ol advocacy 
Sujet : Re: Project Euclid Problem 26 SOLVED!!!
De : ff (at) *nospam* linux.rocks (Farley Flud)
Groupes : comp.os.linux.advocacy
Date : 09. Mar 2024, 17:48:27
Autres entêtes
Organisation : UsenetExpress - www.usenetexpress.com
Message-ID : <17bb234f5a9423d6$44775$1585792$802601b3@news.usenetexpress.com>
References : 1
On Sat, 09 Mar 2024 13:28:40 +0000, Farley Flud wrote:

Project Euclid Problem is SOLVED!!!
 https://projecteuler.net/problem=26
 
1000?  Why stop at a measly-peasly 1000?  Let's do 100,000.
Just paste the following maxima code into a "file.mac"
and then copy the file into the maxima search path.
Then, from maxima (not wxMaxima) do:
load("file.mac");
Wanna go for 1 million? 10 million?  A billion?
It's no problem.  Just change the "for" loop maximum,
but you'd better also compile the code for faster
execution. ==============================================================
file_output_append:true;
f:"/some/path/prob26.txt";
max:1$
maxd:3$
for num:3 thru 100000 step 1 do (
    d:1,
    fact_list:ifactors(num),
    for i:1 thru length(fact_list) do (
    if not(fact_list[1] = 2 or fact_list[1] = 5) then d:d*fact_list[1]^fact_list[2]
      ),
    if not(d = 1) then (
        rep:zn_order(10,d), with_stdout(f,print("denom = ", num, "repeats = ", rep)),
        if (rep > max) then (max:rep, maxd:num)
    )
    else with_stdout(f,(print("denom = ", num, "terminating")))   );
with_stdout(f, print("Max rep =", max, "at denom =", maxd));
================================================================================

 Hail Linux!
 Hail GNU, FOSS, and the FSF!
 Hail Stallman!
>

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