login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A105578
a(n+3) = 2a(n+2) - 3a(n+1) + 2a(n); a(0) = 1, a(1) = 1, a(2) = 0.
5
1, 1, 0, -1, 0, 3, 4, -1, -8, -5, 12, 23, 0, -45, -44, 47, 136, 43, -228, -313, 144, 771, 484, -1057, -2024, 91, 4140, 3959, -4320, -12237, -3596, 20879, 28072, -13685, -69828, -42457, 97200, 182115, -12284, -376513, -351944, 401083, 1104972, 302807, -1907136, -2512749, 1301524, 6327023, 3723976
OFFSET
0,6
COMMENTS
Floretion Algebra Multiplication Program, FAMP Code: ibaseiseq[.5'j + .5'k + .5j' + .5k' + .5'ii' + .5e]
FORMULA
a(n) - a(n+1) = A001607(n); a(n+2) - 2a(n+1) + a(n) = - A078020(n).
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
Equals (A107920(n) + 1)/2.
Sequence in context: A174607 A326503 A378913 * A378227 A198739 A158076
KEYWORD
sign,easy
AUTHOR
Creighton Dement, Apr 14 2005
STATUS
approved