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

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 59th year, we have over 358,000 sequences, and we’ve crossed 10,300 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A038800 Number of primes between 10n and 10n+9. 9
4, 4, 2, 2, 3, 2, 2, 3, 2, 1, 4, 1, 1, 3, 1, 2, 2, 2, 1, 4, 0, 1, 3, 2, 1, 2, 2, 2, 2, 1, 1, 3, 0, 2, 2, 2, 1, 2, 2, 1, 2, 1, 1, 3, 2, 1, 3, 1, 1, 2, 2, 0, 2, 0, 2, 1, 2, 2, 1, 2, 2, 3, 0, 1, 3, 2, 1, 2, 1, 1, 2, 1, 1, 2, 1, 2, 2, 1, 1, 1, 1, 1, 4, 1, 0, 3, 1, 1, 3, 0, 1, 2, 1, 1, 2, 1, 1, 2, 1, 2, 1, 2, 1, 3, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

COMMENTS

If n runs through the primes, the subsequence 2, 2, 2, 3, 1, 3, 2, 4, 2, 1, 3, 2, 1, 3, 1, 0, 2, 3, 2,... is created. - R. J. Mathar, Jul 19 2012

Since 431, 433, and 439 are all prime, a(43)=3. - Bobby Jacobs, Sep 25 2016

LINKS

Michael De Vlieger, Table of n, a(n) for n = 0..10000

A. Frank & P. Jacqueroux, International Contest, 2001. Numerators of Item 23

MATHEMATICA

Table[Count[Range[10 n, 10 n + 9], p_ /; PrimeQ@ p], {n, 0, 105}] (* Michael De Vlieger, Sep 25 2016 *)

PROG

(PARI) a(n) = primepi(10*n+9) - primepi(10*n); \\ Michel Marcus, Sep 26 2016

CROSSREFS

Cf. A055781, A055782, A055783, A055784.

Sequence in context: A193556 A120438 A192977 * A126712 A162232 A029676

Adjacent sequences: A038797 A038798 A038799 * A038801 A038802 A038803

KEYWORD

nonn

AUTHOR

Jeff Burch

EXTENSIONS

a(43) corrected by Bobby Jacobs, Sep 25 2016

a(101) and a(104) corrected by Michael De Vlieger, Sep 25 2016

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 November 29 18:13 EST 2022. Contains 358431 sequences. (Running on oeis4.)