login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A082911 a(n) = prime(n+pi(n)) - prime(n) = A000040(n+A000720(n)) - A000040(n). 1
0, 2, 6, 6, 8, 10, 14, 18, 18, 14, 22, 22, 26, 28, 26, 26, 30, 36, 36, 36, 36, 34, 48, 48, 42, 48, 48, 50, 58, 60, 54, 60, 56, 58, 50, 60, 70, 66, 66, 66, 72, 76, 78, 78, 80, 82, 82, 84, 84, 84, 84, 92, 106, 98, 96, 96, 98, 102, 106, 108, 118, 116, 112, 110, 118, 116, 112 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Ivan Neretin, Table of n, a(n) for n = 0..999

EXAMPLE

n=10: a(10)=p[10+Pi[10]]-p[10]=p[10+4]-29=43-29=14.

MATHEMATICA

Table[Prime[n+PrimePi[n]]-Prime[n], {n, 1, 128}]

CROSSREFS

Cf. A000040, A000720.

Sequence in context: A318435 A157299 A230292 * A005869 A021978 A141377

Adjacent sequences:  A082908 A082909 A082910 * A082912 A082913 A082914

KEYWORD

easy,nonn

AUTHOR

Labos Elemer, Apr 23 2003

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 11 01:51 EDT 2020. Contains 335600 sequences. (Running on oeis4.)