OFFSET
0,2
COMMENTS
In reference to the program code, the sequence of Pell numbers A000126 is given by 1kbaseseq[C*J]. A001353 is 1ibaseiseq[C*J].
Floretion Algebra Multiplication Program, FAMP Code: 1lestesseq[C*J] with C = - 'j + 'k - j' + k' - 'ii' - 'ij' - 'ik' - 'ji' - 'ki' and J = + j' + k' + 1.5'ii' + .5'jj' + .5'kk' + .5e
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (-6,-8,2,1).
FORMULA
a(n) = -6*a(n-1) - 8*a(n-2) + 2*a(n-3) + a(n-4) for n>3. - Colin Barker, Apr 29 2019
MATHEMATICA
CoefficientList[Series[-(1+x+3x^2+x^3)/((x^2+4x+1)(x^2-2x-1)), {x, 0, 30}], x] (* or *) LinearRecurrence[{-6, -8, 2, 1}, {1, -5, 25, -107}, 30] (* Harvey P. Dale, Oct 12 2017 *)
PROG
(PARI) Vec((1 + x + 3*x^2 + x^3) / ((1 + 2*x - x^2)*(1 + 4*x + x^2)) + O(x^25)) \\ Colin Barker, Apr 29 2019
CROSSREFS
KEYWORD
easy,sign
AUTHOR
Creighton Dement, Aug 10 2005
STATUS
approved