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!)
A353015 a(n) = Sum_{k=0..floor(n/3)} (n-3*k)^n. 4
1, 1, 4, 27, 257, 3157, 47385, 839928, 17168097, 397517868, 10283523826, 293950435376, 9200707298514, 312972062711525, 11496160809184370, 453507273286873875, 19122193920118268355, 858239308206920523297, 40851073484808464297979 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
G.f.: Sum_{k>=0} (k * x)^k / (1 - (k * x)^3).
MATHEMATICA
a[0] = 1; a[n_] := Sum[(n-3*k)^n, {k, 0, Floor[n/3]}]; Array[a, 20, 0] (* Amiram Eldar, Apr 16 2022 *)
PROG
(PARI) a(n) = sum(k=0, n\3, (n-3*k)^n);
(PARI) my(N=20, x='x+O('x^N)); Vec(sum(k=0, N, (k*x)^k/(1-(k*x)^3)))
CROSSREFS
Sequence in context: A353014 A360731 A328694 * A360032 A360833 A360835
KEYWORD
nonn,easy
AUTHOR
Seiichi Manyama, Apr 16 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 March 28 18:04 EDT 2024. Contains 371254 sequences. (Running on oeis4.)