login
This site is supported by donations 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

Table of n, a(n) for n=2..51.

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 A012896

Adjacent sequences:  A105406 A105407 A105408 * A105410 A105411 A105412

KEYWORD

nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), May 01 2005

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified May 25 23:30 EDT 2013. Contains 225649 sequences.