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!)
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 (list; graph; refs; listen; history; text; internal format)
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
Sequence in context: A051697 A240869 A367395 * A035680 A238220 A103600
KEYWORD
nonn
AUTHOR
Labos Elemer, Oct 29 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 06:53 EDT 2024. Contains 371799 sequences. (Running on oeis4.)