![]() |
![]() |
#12 | |
Feb 2005
3748 Posts |
![]() Quote:
Another option is to adapt the PrimeGen tool http://cr.yp.to/primegen.html that uses sieve of Atkin. Last fiddled with by maxal on 2010-10-03 at 17:39 |
|
![]() |
![]() |
![]() |
#13 |
Sep 2002
Database er0rr
3,533 Posts |
![]()
When Markus Frind and myself looked for a titanic AP-8 we used a four step process:
http://listserv.nodak.edu/cgi-bin/wa...RY&P=R410&I=-3 What would be a cool record is a titanic AP 9. Something that should be done in this decade! |
![]() |
![]() |
![]() |
#14 |
Sep 2002
Database er0rr
3,533 Posts |
![]()
For the titanic AP-9...
Last fiddled with by paulunderwood on 2010-10-03 at 18:56 |
![]() |
![]() |
![]() |
#15 |
May 2010
Prime hunting commission.
24×3×5×7 Posts |
![]()
Just make a nice script, hope that it's fast, and continue on from there.
Last fiddled with by 3.14159 on 2010-10-04 at 01:51 |
![]() |
![]() |
![]() |
#16 | |
"Ben"
Feb 2007
3,361 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#17 |
Feb 2005
25210 Posts |
![]()
In general we can assume L=1. The order of U/A (notice that the "step" A may be large, making it possible to reach larger U) is reasonable - 10^20 or so, as you mentioned. And, indeed, the sieve may be combined with other methods, that is, it would sieve out numbers divisible by "small" primes, delegating (pseudo-)primality proofs of the remaining "candidates" to other methods (such as Miller-Rabin).
|
![]() |
![]() |
![]() |
#18 |
(loop (#_fork))
Feb 2006
Cambridge, England
6,379 Posts |
![]()
How do you do the search for arithmetic progressions in a set of numbers? There's the obvious n^2 log n approach of running through x_i, x_j for 0<i<j<N and checking 2x_j-x_i; and it feels as if it ought to be possible to use some kind of Fourier-transform autocorrelation approach, though the naive way would use memory on the order of the size of the numbers rather than on the order of the size of the set.
Can it be done in n log n time and memory? Last fiddled with by fivemack on 2010-10-04 at 16:56 |
![]() |
![]() |
![]() |
#19 |
Feb 2005
22×32×7 Posts |
![]() |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Arithmetic progressions for n | MattcAnderson | MattcAnderson | 28 | 2017-05-08 20:58 |
Compositions of arithmetic progressions | jasonp | Factoring | 8 | 2011-08-20 13:42 |
Sieving for primes | CRGreathouse | Math | 0 | 2009-01-06 14:38 |
Detecting arithmetic progressions | grandpascorpion | Math | 18 | 2007-03-28 15:08 |
Arithmetic and Polynomial Progression of Primes? | drake2 | Math | 13 | 2006-10-10 00:43 |