login
A065308
Prime(n - PrimePi(n)).
5
2, 2, 2, 3, 3, 5, 5, 7, 11, 13, 13, 17, 17, 19, 23, 29, 29, 31, 31, 37, 41, 43, 43, 47, 53, 59, 61, 67, 67, 71, 71, 73, 79, 83, 89, 97, 97, 101, 103, 107, 107, 109, 109, 113, 127, 131, 131, 137, 139, 149, 151, 157, 157, 163, 167, 173, 179, 181, 181, 191, 191, 193, 197
OFFSET
1,1
LINKS
EXAMPLE
n=100, Pi(100)=25, p(100-25)=p(75)=379=a(100).
MAPLE
with(numtheory); A065308:=n->ithprime(n-pi(n)); seq(A065308(n), n=1..100); # Wesley Ivan Hurt, Feb 26 2014
MATHEMATICA
Table[Prime[n - PrimePi[n]], {n, 100}] (* Wesley Ivan Hurt, Feb 26 2014 *)
PROG
(PARI) { for (n=1, 1000, write("b065308.txt", n, " ", prime(n - primepi(n))) ) } [Harry J. Smith, Oct 16 2009]
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Oct 29 2001
STATUS
approved