OFFSET
0,6
COMMENTS
Floretion Algebra Multiplication Program, FAMP Code: ibaseiseq[.5'j + .5'k + .5j' + .5k' + .5'ii' + .5e]
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (2,-3,2).
FORMULA
G.f.: -(x^2-x+1) / ((x-1)*(2*x^2-x+1)). - Colin Barker, Feb 08 2015
MATHEMATICA
-Join[{-1, -1, a=0, b=1}, Table[c=1*b-2*a-1; a=b; b=c, {n, 100}]] (* Vladimir Joseph Stephan Orlovsky, Jan 21 2011 *)
LinearRecurrence[{2, -3, 2}, {1, 1, 0}, 50] (* Harvey P. Dale, Mar 28 2019 *)
PROG
(PARI) Vec(-(x^2-x+1)/((x-1)*(2*x^2-x+1)) + O(x^100)) \\ Colin Barker, Feb 08 2015
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Creighton Dement, Apr 14 2005
STATUS
approved