|
|
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
|
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|