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

A133209
a(n) = 4a(n-1) - 6a(n-2) + 4a(n-3), n > 3; a(0) = 3, a(1) = 2, a(2) = a(3) = 0.
1
3, 2, 0, 0, 8, 32, 80, 160, 288, 512, 960, 1920, 3968, 8192, 16640, 33280, 66048, 131072, 261120, 522240, 1046528, 2097152, 4198400, 8396800, 16785408, 33554432, 67092480, 134184960, 268402688, 536870912, 1073807360, 2147614720
OFFSET
0,1
FORMULA
Sequence is identical to its fourth differences.
a(n) = 2^n + 2^[(n+3)/2]*cos((n+1)Pi/4); a(n)=2^n + (1+i)^(n+1) + (1-i)^(n+1), where i=sqrt(-1). - Emeric Deutsch, Oct 14 2007
G.f.: -(3-10*x+10*x^2)/(2*x-1)/(2*x^2-2*x+1). - R. J. Mathar, Nov 14 2007
MAPLE
a[0]:=3: a[1]:=2: a[2]:=0: a[3]:=0; for n from 4 to 27 do a[n]:=4*a[n-1]-6*a[n-2]+4*a[n-3] end do: seq(a[n], n=0..27); # Emeric Deutsch, Oct 14 2007
MATHEMATICA
a = {3, 2, 0, 0}; Do[AppendTo[a, 4*a[[ -1]] - 6*a[[ -2]] + 4*a[[ -3]]], {30}]; a (* Stefan Steinerberger, Oct 14 2007 *)
LinearRecurrence[{4, -6, 4}, {3, 2, 0}, 32] (* Ray Chandler, Sep 23 2015 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Oct 11 2007
EXTENSIONS
More terms from Stefan Steinerberger and Emeric Deutsch, Oct 14 2007
STATUS
approved