OFFSET
0,4
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Roger L. Bagula, Base Polynomial Mathematica Program
Michael Mossinghoff, Small Salem Numbers
Index entries for linear recurrences with constant coefficients, signature (0,0,2,2,2,-1,-2,-5,-2,-1,2,2,2,0,0,-1).
FORMULA
a(n) = 2*a(n-3) + 2*a(n-4) + 2*a(n-5) - a(n-6) - 2*a(n-7) - 5*a(n-8) - 2*a(n-9) - a(n-10) + 2*a(n-11) + 2*a(n-12) + 2*a(n-13) - a(n-16). - Franck Maminirina Ramaharo, Nov 02 2018
MATHEMATICA
CoefficientList[Series[1/(1 - x^3 - x^4 - x^5 + x^8)^2, {x, 0, 50}], x]
PROG
(PARI) x='x+O('x^50); Vec(1/(1-x^3-x^4-x^5+x^8)^2) \\ G. C. Greubel, Nov 03 2018
(Magma) m:=50; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!(1/(1 -x^3-x^4-x^5+x^8)^2)); // G. C. Greubel, Nov 03 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Roger L. Bagula, Nov 15 2008
EXTENSIONS
Name clarified by Franck Maminirina Ramaharo, Nov 02 2018
STATUS
approved