login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A084294 Number of primes in [p(n),n+p(n)] closed interval, where p(n) is the n-th prime. 1
2, 2, 2, 2, 2, 3, 3, 2, 3, 3, 3, 4, 4, 3, 4, 4, 5, 5, 5, 5, 4, 5, 5, 7, 6, 6, 5, 5, 5, 5, 7, 7, 7, 7, 8, 7, 8, 9, 8, 8, 7, 7, 9, 8, 9, 8, 9, 11, 10, 10, 11, 10, 10, 9, 10, 11, 10, 9, 9, 9, 8, 10, 11, 11, 10, 11, 12, 12, 12, 12, 12, 12, 13, 13, 13, 13, 14, 14, 14, 14, 15, 15, 15, 14, 15, 14, 13 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

FORMULA

a(n)=Pi[n+p(n)]=A000720(n+A000040(n))

MATHEMATICA

t[x_] := Table[w, {w, Prime[x], x+Prime[x]}] Table[Count[PrimeQ[t[n]], True], {n, 1, 128}] or Table[PrimePi[n+Prime[n]]-n+1, {n, 1, 25}];

CROSSREFS

Cf. A000040, A000720, A061067, A061068, A084295.

Sequence in context: A067743 A029230 A196067 * A067752 A025422 A078640

Adjacent sequences:  A084291 A084292 A084293 * A084295 A084296 A084297

KEYWORD

nonn

AUTHOR

Labos E. (labos(AT)ana.sote.hu), May 27 2003

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 17:06 EST 2012. Contains 205644 sequences.