View Single Post
Old 2019-01-05, 02:52   #1
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

100000110000002 Posts
Post A very fast Pari program (spin-off from 'New Mersenne software... Android')

Quote:
Originally Posted by axn View Post
3 min 7 sec / 11 sec = 17x
23min 7 sec / 1 min 38.5 sec = 14x

OP's code has better scaling than GMP-based one !
Paridroid gave 4.66 and 28.66 seconds with a halfass script:

Code:
try(p)=my(x=Mod(4,2^p-1));for(y=3,p,sqr(x)-2);x==0
science_man_88 is offline   Reply With Quote