A115525 Periodic {1,1,-2,0,1,0,-1,0,0,1,-1,-1}.
1, 1, -2, 0, 1, 0, -1, 0, 0, 1, -1, -1, 1, 1, -2, 0, 1, 0, -1, 0, 0, 1, -1, -1, 1, 1, -2, 0, 1, 0, -1, 0, 0, 1, -1, -1, 1, 1, -2, 0, 1, 0, -1, 0, 0, 1, -1, -1, 1, 1, -2, 0, 1, 0, -1, 0, 0, 1, -1, -1, 1, 1, -2, 0, 1, 0, -1, 0, 0, 1, -1, -1
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (-1,-1,0,1,1,1).
Programs
-
Mathematica
PadRight[{},120,{1,1,-2,0,1,0,-1,0,0,1,-1,-1}] (* Harvey P. Dale, Aug 20 2021 *)
Formula
G.f.: (1+2x-x^3-2x^4-x^5)/(1+x+x^2-x^4-x^5-x^6).
Comments