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”).

A360776
Expansion of Sum_{k>=0} (x * (k + x^3))^k.
3
1, 1, 4, 27, 257, 3129, 46683, 823799, 16780342, 387467154, 10000823639, 285328449077, 8916487888186, 302885106945216, 11112292144568909, 437902806653498835, 18447046953316227905, 827251374022851280231, 39346845973273509115167
OFFSET
0,3
FORMULA
a(n) = Sum_{k=0..floor(n/4)} (n-3*k)^(n-4*k) * binomial(n-3*k,k).
PROG
(PARI) my(N=20, x='x+O('x^N)); Vec(sum(k=0, N, (x*(k+x^3))^k))
(PARI) a(n) = sum(k=0, n\4, (n-3*k)^(n-4*k)*binomial(n-3*k, k));
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Feb 20 2023
STATUS
approved