OFFSET
0,7
COMMENTS
REFERENCES
Shara Lalo and Zagros Lalo, Polynomial Expansion Theorems and Number Triangles, Zana Publishing, 2018, ISBN: 978-1-9995914-0-3.
LINKS
Shara Lalo, Fourth layer skew diagonals in center-justified triangle of coefficients in expansion of (2 - x)^n
Shara Lalo, Fourth layer skew diagonals in center-justified triangle of coefficients in expansion of (-1 + 2x)^n
Index entries for linear recurrences with constant coefficients, signature (-1,0,0,0,2).
FORMULA
a(0)=1, a(n) = -1 * a(n-1) + 2 * a(n-5) for n >= 0; a(n)=0 for n < 0.
MATHEMATICA
CoefficientList[Series[1/(1 + x - 2 x^5), {x, 0, 42}], x].
a[0] = 1; a[n_] := a[n] = If[n < 0, 0, - a[n - 1] + 2 * a[n - 5]]; Table[a[n], {n, 0, 42}] // Flatten.
LinearRecurrence[{-1, 0, 0, 0, 2}, {1, -1, 1, -1, 1}, 43].
PROG
(PARI) x='x+O('x^99); Vec(1/(1+x-2*x^5)) \\ Altug Alkan, Sep 04 2018
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Shara Lalo, Sep 04 2018
STATUS
approved