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!)
A368616 a(n) = Sum_{k=1..n} pi(k) * (ceiling(n/k) - floor(n/k)). 2
0, 0, 1, 2, 5, 5, 11, 12, 17, 19, 27, 24, 37, 38, 44, 48, 61, 58, 75, 73, 85, 93, 107, 99, 122, 127, 137, 139, 161, 152, 181, 179, 196, 206, 218, 212, 247, 250, 263, 261, 295, 284, 321, 319, 334, 353, 377, 360, 403, 405, 428, 434, 467, 457, 491, 489, 521, 536, 563, 536, 597, 603, 615 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
FORMULA
a(n) = A368610(n) - A368611(n).
a(n) = A046992(n) - A062774(n).
a(n) = A368641(n) + A048865(n).
MATHEMATICA
Table[Sum[PrimePi[k] (Ceiling[n/k] - Floor[n/k]), {k, n}], {n, 100}]
CROSSREFS
Sequence in context: A084721 A273041 A274108 * A138316 A183719 A239340
KEYWORD
nonn,easy
AUTHOR
Wesley Ivan Hurt, Dec 31 2023
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 May 17 09:56 EDT 2024. Contains 372588 sequences. (Running on oeis4.)