Try something less likely to be cached. In[359]:= PrimePi[98765432101234] // Timing Out[359]= {38.587819, 3166636765112} But still PrimePi[987654321012345] // Timing PrimePi::largp: Argument 987654321012345 in PrimePi[987654321012345] is too large for this implementation. —rwg On 2019-11-11 08:17, Joerg Arndt wrote:
* Simon Plouffe <simon.plouffe@gmail.com> [Nov 11. 2019 17:13]:
Hello,
there is a little jewel of program called primecount (easy to find on Windows, mac or linux).
[...]
Last thing : the program is 1.52 megs in size and takes all the cpus/threads you may have on one machine automatically.
Now THERE is my reason to buy that AMD CPU with 64 physical cores!
[...] primecount -g 10^20 --time; 2220819602560918840 seconds: 155.561
Impressive indeed.
[...]
Best regards, jj
_______________________________________________ math-fun mailing list math-fun@mailman.xmission.com https://mailman.xmission.com/cgi-bin/mailman/listinfo/math-fun