Cuban primes: Difference between revisions
Content added Content deleted
Line 1,167: | Line 1,167: | ||
printf(1,"\nThe %,dth cuban prime is %s\n",{np,mpz_get_str(pn,comma_fill:=true)}) |
printf(1,"\nThe %,dth cuban prime is %s\n",{np,mpz_get_str(pn,comma_fill:=true)}) |
||
randstate = gmp_randclear(randstate) |
randstate = gmp_randclear(randstate) |
||
{p3,i3,p} = |
{p3,i3,p} = mpz_free({p3,i3,p}) |
||
?elapsed(time()-t0)</lang> |
?elapsed(time()-t0)</lang> |
||
{{out}} |
{{out}} |