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!)
A345100 a(n) = Sum_{k=1..n} k^floor(n/k). 3
1, 3, 6, 12, 17, 33, 40, 68, 95, 141, 152, 328, 341, 461, 738, 1130, 1147, 2159, 2178, 4068, 5841, 6997, 7020, 18198, 20723, 25001, 38798, 61546, 61575, 137445, 137476, 223252, 342593, 408435, 485376, 1213988, 1214025, 1476549, 2541498, 4202810, 4202851, 8777205 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
G.f.: (1/(1 - x)) * Sum_{k>=1} k*x^k * (1 - x^k)/(1 - k*x^k).
a(n) ~ 3^((n - mod(n,3))/3). - Vaclav Kotesovec, Jun 11 2021
MATHEMATICA
a[n_] := Sum[k^Floor[n/k], {k, 1, n}]; Array[a, 40] (* Amiram Eldar, Jun 08 2021 *)
PROG
(PARI) a(n) = sum(k=1, n, k^(n\k));
(PARI) my(N=66, x='x+O('x^N)); Vec(sum(k=1, N, k*x^k*(1-x^k)/(1-k*x^k))/(1-x))
CROSSREFS
Sequence in context: A146952 A288570 A038046 * A162845 A239708 A038588
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Jun 08 2021
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 April 27 11:10 EDT 2024. Contains 372019 sequences. (Running on oeis4.)