OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (3,3,-4,-1,1).
FORMULA
a(n) = [x^n] (x^6 - x^5 - 5*x^4 + 4*x^3 + 6*x^2 - 3*x - 1) / (x^5 - x^4 - 4*x^3 + 3*x^2 + 3*x - 1).
MATHEMATICA
CoefficientList[Series[x + 1/(-x - 1/(-x - 1/(-x - 1/(-x - 1/(-x + 1))))), {x, 0, 26}], x] (* Michael De Vlieger, Jun 10 2024 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Peter Luschny, Jun 10 2024
STATUS
approved