OFFSET
0,3
COMMENTS
Reversion of g.f. for octagonal pyramidal numbers (with signs).
LINKS
Eric Weisstein's World of Mathematics, Series Reversion
FORMULA
a(n) = (1/n) * Sum_{k=0..n-1} binomial(n+k-1,k) * binomial(4*n,n-k-1) * 5^k for n > 0.
MATHEMATICA
nmax = 20; A[_] = 0; Do[A[x_] = x (1 + A[x])^4/(1 - 5 A[x]) + O[x]^(nmax + 1) // Normal, nmax + 1]; CoefficientList[A[x], x]
CoefficientList[InverseSeries[Series[x (1 - 5 x)/(1 + x)^4, {x, 0, 20}], x], x]
Join[{0}, Table[1/n Sum[Binomial[n + k - 1, k] Binomial[4 n, n - k - 1] 5^k, {k, 0, n - 1}], {n, 1, 20}]]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Sep 26 2023
STATUS
approved