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 August 20 07:51 EDT 2024. Contains 375314 sequences. (Running on oeis4.)