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!)
A333644 a(n) = Sum_{k=1..n} floor(n/k) * prime(k). 0
2, 7, 14, 26, 39, 62, 81, 112, 142, 187, 220, 287, 330, 395, 460, 544, 605, 712, 781, 904, 1001, 1116, 1201, 1376, 1486, 1633, 1766, 1945, 2056, 2279, 2408, 2623, 2798, 3001, 3180, 3482, 3641, 3876, 4091, 4406, 4587, 4924, 5117, 5432, 5717, 6004, 6217, 6668, 6914, 7285 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Partial sums of A007445.
LINKS
FORMULA
G.f.: (1/(1 - x)) * Sum_{k>=1} prime(k) * x^k / (1 - x^k).
MATHEMATICA
Table[Sum[Floor[n/k] Prime[k], {k, n}], {n, 50}]
PROG
(PARI) a(n) = sum(k=1, n, (n\k)*prime(k)); \\ Michel Marcus, Mar 31 2020
CROSSREFS
Sequence in context: A102999 A225277 A367954 * A374236 A014112 A227016
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Mar 31 2020
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 July 7 10:18 EDT 2024. Contains 374069 sequences. (Running on oeis4.)