login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A105410 Indices n of primes p(n), p(n+3) such that p(n)-2 and p(n+3)-2 are both prime. 0
3, 8, 11, 18, 50, 58, 114, 174, 207, 210, 213, 254, 263, 266, 316, 321, 344, 396, 406, 461, 493, 496, 499, 543, 556, 582, 614, 626, 644, 724, 727, 741, 847, 932, 1099, 1102, 1118, 1121, 1233, 1236, 1261, 1285, 1443, 1616, 1619, 1640, 1705, 1710, 1783, 1792 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,1
LINKS
MATHEMATICA
Select[Range[2000], PrimeQ[Prime[#]-2]&&PrimeQ[Prime[#+3]-2]&] (* Harvey P. Dale, Jun 02 2011 *)
PROG
(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
Sequence in context: A184925 A294478 A154485 * A114548 A182759 A022121
KEYWORD
nonn
AUTHOR
Cino Hilliard, May 02 2005
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 17:20 EDT 2024. Contains 371962 sequences. (Running on oeis4.)