OFFSET
1,2
COMMENTS
a(n) is the coefficient of x^n in expansion of series reversion of g.f. for n-gonal numbers (with signs).
FORMULA
a(n) = [x^n] Series_Reversion( x * (1 - (n - 3) * x) / (1 + x)^3 ).
MATHEMATICA
Unprotect[Power]; 0^0 = 1; Table[1/n Sum[Binomial[n + k - 1, k] Binomial[3 n, n - k - 1] (n - 3)^k, {k, 0, n - 1}], {n, 1, 18}]
Table[Binomial[3 n, n - 1] Hypergeometric2F1[1 - n, n, 2 (n + 1), 3 - n]/n, {n, 1, 18}]
Table[SeriesCoefficient[InverseSeries[Series[x (1 - (n - 3) x)/(1 + x)^3, {x, 0, n}], x], {x, 0, n}], {n, 1, 18}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Oct 04 2023
STATUS
approved