OFFSET
0,7
LINKS
Index entries for linear recurrences with constant coefficients, signature (2,-1,0,0,0,0,0,0,0,0,0,0,0,0,1,-2,1).
FORMULA
From R. J. Mathar, Apr 15 2010: (Start)
a(n) = 2*a(n-1) - a(n-2) + a(n-15) - 2*a(n-16) + a(n-17).
G.f.: x^5*(1+x^2*(-1+x*(1+x^2*(1+x*(-1+x^2)))))/(1+x*(-2+x*(1+x^13*(-1+(2-x)*x)))). (End)
MATHEMATICA
LinearRecurrence[{2, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, -2, 1}, {0, 0, 0, 0, 0, 1, 2, 2, 3, 4, 6, 7, 8, 10, 12, 14, 16}, 63] (* Georg Fischer, Aug 15 2021 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved