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!)
A094892 a(n) is the number of primes between n*210 and (n+1)*210. 2
46, 35, 33, 32, 30, 29, 27, 31, 27, 27, 26, 25, 30, 26, 22, 27, 26, 27, 24, 24, 26, 23, 26, 26, 22, 24, 26, 27, 20, 25, 23, 25, 23, 24, 22, 23, 26, 21, 21, 24, 21, 26, 24, 23, 25, 22, 25, 20, 25, 22, 21, 22, 21, 22, 21, 18, 26, 22, 21, 26, 23, 24, 22, 19, 21, 24, 21, 17, 23 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
Arbitrarily long subsequences of consecutive 0's occur. a[n] is always <= 46. All values below 34 occur (see A095391); does 34?
LINKS
EXAMPLE
a[0]=46 because there are 46 primes between 0*210 and 1*210.
a[l]=35 because there are 35 primes between 1*210 and 2*210.
MATHEMATICA
a[n_]:=PrimePi[210 (n + 1)] - PrimePi[210 n]; Table[a[n], {n, 0, 100}] (* Vincenzo Librandi, Jul 08 2018 *)
PROG
(Magma) [46] cat [#PrimesInInterval(210*n, 210*(n+1)): n in [1..80]]; // Vincenzo Librandi, Jul 08 2018
CROSSREFS
Sequence in context: A033978 A216840 A060958 * A258915 A342479 A165867
KEYWORD
nonn
AUTHOR
Labos Elemer, Jun 16 2004
EXTENSIONS
Edited by Don Reble, Jun 16 2004
Examples corrected by Matthew Vandermast, Jun 17 2004
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 August 11 19:17 EDT 2024. Contains 375073 sequences. (Running on oeis4.)