Ilya Zakharevich on Thu, 18 Jan 2024 04:32:23 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Implementation of forprime() and unextprime()


On Sun, Jan 14, 2024 at 12:49:49PM +0100, Bill Allombert wrote:
> > Still, this does not explain what is so special about 20…
> 
> It used to be primelimit=500000, so we could have picked 19 , but
> 20 (2^20~10^6) is easier to remember. Also its square is 2^40~10^12.
> Memory size have grown, so the extra memory requirement should not be
> an issue.

I had a vague hope that the reason is a bit math-sexier…

Thanks anyway, yours
Ilya