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!)
A368611 a(n) = Sum_{k=1..n} pi(k) * floor(n/k). 5
0, 1, 3, 6, 9, 15, 19, 26, 32, 40, 45, 58, 64, 75, 86, 99, 106, 123, 131, 149, 163, 177, 186, 212, 224, 240, 255, 277, 287, 316, 327, 351, 369, 388, 406, 441, 453, 474, 494, 528, 541, 578, 592, 622, 651, 675, 690, 737, 756, 788, 812, 845, 861, 903, 927, 969, 995, 1022 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
a(n) = A013939(n) + A368613(n).
MATHEMATICA
Table[Sum[PrimePi[k] Floor[n/k], {k, n}], {n, 100}]
CROSSREFS
Sequence in context: A133205 A355498 A049991 * A143981 A031940 A007187
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 14 17:50 EDT 2024. Contains 372533 sequences. (Running on oeis4.)