login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A024929
a(n) = Sum_{k = 1..n} k*floor((n + prime(k))/k).
0
3, 8, 17, 29, 51, 70, 97, 122, 161, 195, 254, 303, 393, 455, 518, 586, 667, 747, 834, 915, 1024, 1125, 1238, 1364, 1481, 1603, 1744, 1919, 2125, 2246, 2472, 2711, 2911, 3090, 3297, 3507, 3753, 3944, 4154, 4367, 4609, 4820, 5089, 5315, 5555, 5807, 6100, 6341, 6630, 6894
OFFSET
1,1
PROG
(PARI) a(n) = sum(k=1, n, k*floor((n+prime(k))/k)) \\ Michel Marcus, Mar 23 2013
CROSSREFS
Sequence in context: A227017 A073433 A059518 * A033816 A011889 A188426
KEYWORD
nonn
STATUS
approved