![]() |
|
|
#1 |
|
Aug 2006
3·1,993 Posts |
I'd like to extend A291525. Is there good software to generate arithmetic progressions of primes? Math::Prime::Util doesn't seem to do it, but surely some of the sieves we have floating around the forum can handle this easily enough.
|
|
|
|
|
|
#2 |
|
Feb 2016
UK
3×5×29 Posts |
Nearest I can think of is the AP project at PrimeGrid. More about the software used can be found the the below links. I believe it searches for primes of no specific type. If that is required, then I'd imagine either the code would need to be changed for the desired prime type, or you could kinda brute-force it and separately filter the output to look for sequences of the desired type.
http://www.primegrid.com/forum_thread.php?id=6359 https://github.com/ibethune/ap26 |
|
|
|
|
|
#3 |
|
Just call me Henry
"David"
Sep 2007
Cambridge (GMT/BST)
2×33×109 Posts |
Polysieve might be able to handle APs https://mersenneforum.org/showthread.php?t=16705&page=9
The gap between primes in the progression would have to be known in advance and can then be put in as c(the values for c currently need to fit in a signed long but that restriction is probably liftable. Checking for Chen-ness of all the terms is a whole different kettle of fish though. |
|
|
|
|
|
#4 | ||
|
Aug 2006
3×1,993 Posts |
Quote:
Quote:
|
||
|
|
|
|
|
#5 |
|
Mar 2019
3·61 Posts |
I am a bit confused by the definition of this sequence: "a(n) is the largest number in an n-term AP of Chen primes".
But one of the papers cited proves "Theorem 1.6. The Chen prime numbers contain infinitely many arith- metic progressions of length k for all k". So should the definition of the OEIS sequence specify "the largest number in the FIRST n-term AP" or something similar? |
|
|
|
|
|
#6 | |
|
Aug 2006
3·1,993 Posts |
Quote:
![]() In order to find such a creature, you pretty much just have to try all the candidates up to that point. Of course you can do a lot with sieving, but you can't skip candidates entirely AFAICT. |
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mersenne Primes p which are in a set of twin primes is finite? | carpetpool | Miscellaneous Math | 3 | 2017-08-10 13:47 |
| Distribution of Mersenne primes before and after couples of primes found | emily | Math | 34 | 2017-07-16 18:44 |
| Conjecture about Mersenne primes and non-primes v2 | Mickey1 | Miscellaneous Math | 1 | 2013-05-30 12:32 |
| A conjecture about Mersenne primes and non-primes | Unregistered | Information & Answers | 0 | 2011-01-31 15:41 |
| possible primes (real primes & poss.prime products) | troels munkner | Miscellaneous Math | 4 | 2006-06-02 08:35 |