The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A109554 pi(n)[prime(n+1)-prime(n)], where pi(n) is the number of prime numbers less than or equal to n and prime(k) is the k-th prime. 0
0, 2, 4, 8, 6, 12, 8, 16, 24, 8, 30, 20, 12, 24, 36, 36, 14, 42, 32, 16, 48, 32, 54, 72, 36, 18, 36, 18, 40, 140, 44, 66, 22, 110, 22, 66, 72, 48, 72, 72, 26, 130, 28, 56, 28, 168, 180, 60, 30, 60, 90, 30, 160, 96, 96, 96, 32, 96, 68, 34, 180, 252, 72, 36, 72, 252, 114, 190, 38 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
a(2)=pi(2)[prime(3)-prime(2)]=1*(5-3)=2.
MAPLE
with(numtheory): a:=n->pi(n)*(ithprime(n+1)-ithprime(n)): seq(a(n), n=1..70);
MATHEMATICA
a = Table[(Prime[n + 1] - Prime[n])*PrimePi[n], {n, 1, 200}]
CROSSREFS
Sequence in context: A125597 A366170 A151732 * A339821 A269382 A253886
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Jun 27 2005
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 June 4 19:35 EDT 2024. Contains 373102 sequences. (Running on oeis4.)