OFFSET
0,6
COMMENTS
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Eric Weisstein's World of Mathematics, Pentagonal Number.
Eric Weisstein's World of Mathematics, Pentatope Number.
Index entries for linear recurrences with constant coefficients, signature (0,0,3,0,0,-3,0,0,1).
FORMULA
EXAMPLE
a(6) = -3 and A000332(6) = (-3)(-10)/2 = 15.
MATHEMATICA
CoefficientList[Series[(-x^4*(x^4 + 2*x^3 - 3*x^2 + 2*x + 1))/((x - 1)^3*(1 + x^2 + x)^3), {x, 0, 50}], x] (* G. C. Greubel, Jun 13 2017 *)
LinearRecurrence[{0, 0, 3, 0, 0, -3, 0, 0, 1}, {0, 0, 0, 0, 1, 2, -3, 5, 7}, 60] (* Harvey P. Dale, Feb 13 2023 *)
PROG
(PARI) x='x+O('x^50); concat([0, 0, 0, 0], Vec((-x^4*(x^4 +2*x^3 -3*x^2 +2*x +1))/((x-1)^3*(1+x^2+x)^3))) \\ G. C. Greubel, Jun 13 2017
CROSSREFS
KEYWORD
easy,sign
AUTHOR
Matthew Vandermast, Oct 28 2008
STATUS
approved