OFFSET
0,6
COMMENTS
The coefficients in the expansion of 1/(1 - x - 2*x^5) are given by the sequence generated by the row sums in triangle A318775.
REFERENCES
Shara Lalo and Zagros Lalo, Polynomial Expansion Theorems and Number Triangles, Zana Publishing, 2018, ISBN: 978-1-9995914-0-3.
LINKS
Zagros Lalo, Fourth layer skew diagonals in center-justified triangle of coefficients in expansion of (1 + 2x)^n.
Zagros Lalo, Fourth layer skew diagonals in center-justified triangle of coefficients in expansion of (2 + x)^n.
Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,2).
FORMULA
a(0)=1, a(n) = a(n-1) + 2 * a(n-5) for n = 0,1...; a(n)=0 for n < 0.
G.f.: -1/(2*x^5 + x - 1). - Chai Wah Wu, Aug 03 2020
MAPLE
seq(coeff(series((1-x-2*x^5)^(-1), x, n+1), x, n), n = 0 .. 50); # Muniru A Asiru, Sep 26 2018
MATHEMATICA
a[0] = 1; a[n_] := a[n] = If[n < 0, 0, a[n - 1] + 2 * a[n - 5]]; Table[a[n], {n, 0, 45}] // Flatten
LinearRecurrence[{1, 0, 0, 0, 2}, {1, 1, 1, 1, 1}, 46]
CoefficientList[Series[1/(1 - x - 2 x^5), {x, 0, 45}], x]
PROG
(GAP) a:=[1, 1, 1, 1, 1, 3];; for n in [7..50] do a[n]:=a[n-1]+2*a[n-5]; od; a; # Muniru A Asiru, Sep 26 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Zagros Lalo, Sep 25 2018
STATUS
approved