OFFSET
0,6
COMMENTS
Floretion Algebra Multiplication Program, FAMP Code: 4jbaseksumseq[ + .25'i + .25i' + .25'ii' + .25'jj' + .25'kk' + .25'jk' + .25'kj' + .25e], sumtype: Y[15],inty[ * ]
LINKS
Index entries for linear recurrences with constant coefficients, signature (2,1,1,2,-1).
FORMULA
a(0)=1, a(1)=1, a(2)=1, a(3)=1, a(4)=1, a(n)=2*a(n-1)+a(n-2)+a(n-3)+ 2*a(n-4)- a(n-5). - Harvey P. Dale, Apr 14 2015
MATHEMATICA
CoefficientList[Series[-(x+2x^2+3x^3-1+5x^4)/((x+1)(x^2-3x+1)(1+x^2)), {x, 0, 30}], x] (* Harvey P. Dale, Apr 14 2015 *)
(* Alternative: *)
LinearRecurrence[{2, 1, 1, 2, -1}, {1, 1, 1, 1, 1}, 40] (* Harvey P. Dale, Apr 14 2015 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Creighton Dement, Aug 14 2005
STATUS
approved
