login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 


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
OFFSET
1,2
LINKS
EXAMPLE
n=10: a(10) = prime(10+pi(10)) - prime(10) = prime(10+4)-29 = 43-29 = 14.
MATHEMATICA
Table[Prime[n+PrimePi[n]]-Prime[n], {n, 1, 128}]
CROSSREFS
Sequence in context: A318435 A157299 A230292 * A005869 A353624 A372610
KEYWORD
easy,nonn
AUTHOR
Labos Elemer, Apr 23 2003
EXTENSIONS
Offset changed by Georg Fischer, Oct 29 2023
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 24 06:21 EDT 2024. Contains 376187 sequences. (Running on oeis4.)