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!)
A065046 Numbers k such that prime(k) - pi(k) is a prime. 2
1, 2, 3, 4, 7, 9, 14, 15, 16, 19, 22, 30, 38, 44, 55, 64, 79, 81, 90, 91, 93, 94, 96, 101, 113, 115, 117, 118, 121, 122, 123, 124, 125, 133, 142, 148, 163, 173, 176, 178, 182, 183, 185, 189, 190, 199, 205, 206, 208, 223, 226, 232, 239, 240, 251, 253, 255, 263 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MATHEMATICA
Select[Range[300], PrimeQ[Prime[ # ] - PrimePi[ # ]] & ].
PROG
(PARI) { n=0; for (m=1, 10^9, if (isprime(prime(m) - primepi(m)), write("b065046.txt", n++, " ", m); if (n==1000, return)) ) } \\ Harry J. Smith, Oct 04 2009
CROSSREFS
Cf. A065042.
Sequence in context: A339397 A129373 A139078 * A049709 A108950 A238545
KEYWORD
easy,nonn
AUTHOR
Robert G. Wilson v, Nov 05 2001
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 20 00:26 EDT 2024. Contains 371798 sequences. (Running on oeis4.)