login
This site is supported by donations 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; internal format)
OFFSET

2,1

MATHEMATICA

Select[Range[2000], PrimeQ[Prime[#]-2]&&PrimeQ[Prime[#+3]-2]&] (* From Harvey P. Dale, June 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: A058572 A184925 A154485 * A114548 A182759 A022121

Adjacent sequences:  A105407 A105408 A105409 * A105411 A105412 A105413

KEYWORD

nonn

AUTHOR

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

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 February 17 02:08 EST 2012. Contains 205978 sequences.