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!)
A352982 a(n) = Sum_{k=0..floor(n/3)} k^n. 5
1, 0, 0, 1, 1, 1, 65, 129, 257, 20196, 60074, 179196, 17312754, 68711380, 273234810, 31605701625, 156925970179, 780248593545, 105443761093411, 628709267031321, 3752628871164355, 580964060390826448, 4043844561787569140, 28170468954985342384 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,7
LINKS
FORMULA
G.f.: Sum_{k>=0} (k * x)^(3 * k) / (1 - k * x).
MATHEMATICA
a[0] = 1; a[n_] := Sum[k^n, {k, 0, Floor[n/3]}]; Array[a, 24, 0] (* Amiram Eldar, Apr 13 2022 *)
PROG
(PARI) a(n) = sum(k=0, n\3, k^n);
(PARI) my(N=40, x='x+O('x^N)); Vec(sum(k=0, N, (k*x)^(3*k)/(1-k*x)))
(Magma) [(&+[k^n: k in [0..Floor(n/3)]]): n in [0..40]]; // G. C. Greubel, Nov 01 2022
(SageMath) [sum( k^n for k in range((n//3)+1)) for n in range(41)] # G. C. Greubel, Nov 01 2022
CROSSREFS
Sequence in context: A044188 A044569 A158071 * A355543 A348759 A357651
KEYWORD
nonn,easy
AUTHOR
Seiichi Manyama, Apr 13 2022
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 August 22 16:41 EDT 2024. Contains 375369 sequences. (Running on oeis4.)