mersenneforum.org  

Go Back   mersenneforum.org > Search Forums

Showing results 1 to 1 of 1
Search took 0.00 seconds.
Search: Posts Made By: CRGreathouse
Forum: enzocreti 2020-02-24, 04:17
Replies: 5
Views: 1,064
Posted By CRGreathouse
For a more general approach: ...

For a more general approach:
polyToSeqPrimes(p)=my(v=List(),len,x=variable(p),n,t); while(len<=260, if(isprime(t=subst(p,x,n)), listput(v,t); len+=#Str(t)+2); n++); v=Vec(v); v[1..#v-1];...
Showing results 1 to 1 of 1

 
All times are UTC. The time now is 06:43.

Fri Oct 23 06:43:39 UTC 2020 up 43 days, 3:54, 0 users, load averages: 1.50, 1.55, 1.57

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.