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!)
A321018 a(n) = round(pi(n)/2). 1
0, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 13, 13, 13, 13 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,5
COMMENTS
More terms than usual are displayed in order to distinguish this from neighboring sequences.
LINKS
MATHEMATICA
Floor[#/2+1/2]&/@Accumulate[Table[If[PrimeQ[n], 1, 0], {n, 100}]] (* Harvey P. Dale, Feb 21 2022 *)
CROSSREFS
Suggested by A321005.
Sequence in context: A321017 A138194 A133876 * A340764 A152467 A242602
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Nov 09 2018
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 April 24 18:17 EDT 2024. Contains 371962 sequences. (Running on oeis4.)