A360146 Integers d such that the longest possible arithmetic progression (AP) of primes with common difference d has exactly 10 elements.
210, 420, 630, 840, 1050, 1260, 1470, 1680, 1890, 2100, 2520, 2730, 2940, 3150, 3360, 3570, 3780, 3990, 4200, 4410, 4830, 5040, 5250, 5460, 5670, 5880, 6090, 6300, 6510, 6720, 7140, 7350, 7560, 7770, 7980, 8190, 8400, 8610, 8820, 9030, 9450, 9660, 9870, 10080, 10290, 10500, 10710, 10920
Offset: 1
Keywords
Examples
d = 210 is a term because the longest possible APs of primes with common difference d = 210 all have 10 elements. The first such AP is (199, 409, 619, 829, 1039, 1249, 1459, 1669, 1879, 2089), then 2299 = 11*209. d = 420 is another term because the longest possible APs of primes with common difference d = 420 all have 10 elements; the first such APs start with 52879, 3544939, ... The smallest one is (52879, 53299, 53719, 54139, 54559, 54979, 55399, 55819, 56239, 56659), then 57079 = 11*5189.
Links
- Diophante, A1880. NP en PA (prime numbers in arithmetic progression) (in French).
- Wikipedia, Primes in arithmetic progression.
- Index entries for sequences related to primes in arithmetic progressions.
Crossrefs
Programs
-
PARI
A053669(n) = forprime(p=2, , if(n%p, return(p))); f(n) = my(p=A053669(n)); for (i=1, p-1, if (!isprime(p+i*n), return(p-1))); p; \\ A123556 isok(n) = f(n) == 10; \\ Michel Marcus, Mar 10 2023
Formula
m is a term iff A123556(m) = 10.
Comments