OFFSET
0,4
COMMENTS
Floretion Algebra Multiplication Program, FAMP Code: 1jesforzapseq[(.5i' + .5j' + .5'ki' + .5'kj')*(.5'i + .5'j + .5'ik' + .5'jk')], 1vesforzap = A000004
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,1,2,-1,0,1,2).
FORMULA
a(0)=0, a(1)=1, a(2)=1, a(3)=4, a(4)=4, a(5)=5, a(6)=9, a(n)= a(n-2)+ 2*a(n-3)-a(n-4)+a(n-6)+2*a(n-7). - Harvey P. Dale, Jul 19 2011
MATHEMATICA
CoefficientList[Series[x(-1-x-3x^2-x^3+2x^5)/((2x^3+x^2-1)(x^4+1)), {x, 0, 50}], x] (* or *) LinearRecurrence[{0, 1, 2, -1, 0, 1, 2}, {0, 1, 1, 4, 4, 5, 9}, 51] (* Harvey P. Dale, Jul 19 2011 *)
PROG
(PARI) a(n)=([0, 1, 0, 0, 0, 0, 0; 0, 0, 1, 0, 0, 0, 0; 0, 0, 0, 1, 0, 0, 0; 0, 0, 0, 0, 1, 0, 0; 0, 0, 0, 0, 0, 1, 0; 0, 0, 0, 0, 0, 0, 1; 2, 1, 0, -1, 2, 1, 0]^n*[0; 1; 1; 4; 4; 5; 9])[1, 1] \\ Charles R Greathouse IV, Oct 03 2016
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Creighton Dement, May 25 2005
STATUS
approved