The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A105409 Indices n of primes p(n), p(n+2) such that p(n)-2 and p(n+2)-2 are both prime. 0
4, 6, 27, 34, 42, 44, 82, 141, 143, 172, 177, 235, 287, 295, 314, 319, 429, 459, 474, 476, 485, 578, 580, 585, 672, 744, 773, 863, 871, 873, 892, 935, 958, 1031, 1116, 1166, 1168, 1170, 1231, 1340, 1352, 1405, 1463, 1549, 1622, 1652, 1708, 1824, 1834, 1868 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,1
LINKS
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
Cf. A053778.
Sequence in context: A099941 A074120 A054265 * A109934 A068321 A349647
KEYWORD
nonn
AUTHOR
_Cino Hilliard_, May 01 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 May 13 03:50 EDT 2024. Contains 372497 sequences. (Running on oeis4.)