|
Search: id:A105413
|
|
|
| A105413 |
|
Numbers p(n) such that both p(n)+2 and p(n+6)-2 are prime numbers, where p(n) is the n-th prime. |
|
+0 1
|
|
| 3, 11, 107, 239, 311, 569, 1019, 1031, 1229, 1427, 1997, 2081, 2087, 2111, 2687, 3251, 4049, 4127, 4157, 4229, 4241, 4481, 5231, 5639, 6089, 7307, 7559, 8969, 9629, 10007, 10457, 13691, 13829, 13901, 14249, 14549, 14561, 16187, 16649, 17207
(list; graph; listen)
|
|
|
OFFSET
|
1,1
|
|
|
COMMENT
|
Conjecture: There are an infinite number of primes p(n) such that p(n)-2 and p(n+k)-2 are both prime for all k > 1.
|
|
EXAMPLE
|
p(6)-2 = 11, p(6+5)-2 = 29, both prime, 1 is in the table.
|
|
MATHEMATICA
|
For[n = 1, n < 500, n++, If[PrimeQ[Prime[n] + 2], If[PrimeQ[Prime[n + 6] - 2], Print[Prime[n]]]]] - Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Feb 07 2006
|
|
PROGRAM
|
(PARI) pnpk(n, m, k) = \ both are prime { local(x, l1, l2, v1, v2); for(x=1, n, v1 = prime(x)+ k; v2 = prime(x+m)+k; if(isprime(v1)&isprime(v2), \ print1(x", ") print1(v1", ") ) ) }
|
|
CROSSREFS
|
Adjacent sequences: A105410 A105411 A105412 this_sequence A105414 A105415 A105416
Sequence in context: A007616 A121045 A092245 this_sequence A136985 A131546 A068693
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Cino Hilliard (hillcino368(AT)gmail.com), May 02 2005
|
|
|
Search completed in 0.002 seconds
|