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”).

A135353
a(n) = 3*a(n-1) - 3*a(n-2) + 2*a(n-3), with a(0) = 2, a(1) = -3, a(2) = 3.
2
2, -3, 3, 22, 51, 93, 170, 333, 675, 1366, 2739, 5469, 10922, 21837, 43683, 87382, 174771, 349533, 699050, 1398093, 2796195, 5592406, 11184819, 22369629, 44739242, 89478477, 178956963, 357913942, 715827891, 1431655773, 2863311530, 5726623053, 11453246115, 22906492246
OFFSET
0,1
COMMENTS
Sequence identical to its third differences. "Self-transform". Initial terms are transform's coefficients .
FORMULA
a(n) = (8/3)*2^n - (2/3)*cos(Pi*n/3) - (16*sqrt(3)/3)*sin(Pi*n/3). - Richard Choulet, Jan 02 2008
G.f.: (2 - 9*x + 18*x^2)/((1-2*x)*(1-x+x^2)). - Philippe Deléham, Dec 29 2008
MATHEMATICA
LinearRecurrence[{3, -3, 2}, {2, -3, 3}, 30] (* or *) CoefficientList[Series[ (-2+9 x-18 x^2)/(-1+3 x-3 x^2+2 x^3), {x, 0, 30}], x] (* Harvey P. Dale, Apr 20 2011 *)
CROSSREFS
Sequence in context: A062168 A296836 A019229 * A217705 A084956 A216724
KEYWORD
sign,changed
AUTHOR
Paul Curtz, Dec 07 2007
EXTENSIONS
More terms from Philippe Deléham, Dec 29 2008
STATUS
approved