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!)
A368641 a(n) = Sum_{k=2..n} pi(k-1) * (ceiling(n/k) - floor(n/k)). 2
0, 0, 0, 1, 3, 4, 8, 9, 14, 17, 23, 21, 32, 34, 40, 43, 55, 53, 68, 67, 79, 87, 99, 92, 114, 120, 129, 132, 152, 145, 171, 169, 187, 197, 209, 203, 236, 240, 253, 251, 283, 274, 308, 307, 322, 341, 363, 347, 389, 392, 415, 421, 452, 443, 477, 475, 507, 522, 547, 522 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,5
LINKS
FORMULA
a(n) = A368612(n) - A368613(n).
a(n) = A368616(n) - A048865(n).
MATHEMATICA
Table[Sum[PrimePi[k - 1] (Ceiling[n/k] - Floor[n/k]), {k, 2, n}], {n, 100}]
CROSSREFS
Sequence in context: A306901 A355477 A341578 * A046974 A177986 A186775
KEYWORD
nonn,easy
AUTHOR
Wesley Ivan Hurt, Jan 01 2024
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 September 5 00:56 EDT 2024. Contains 375685 sequences. (Running on oeis4.)