login
A133405
a(n) = 3*a(n-1) - a(n-3) + 3*a(n-4).
2
0, 0, 0, 1, 3, 9, 26, 78, 234, 703, 2109, 6327, 18980, 56940, 170820, 512461, 1537383, 4612149, 13836446, 41509338, 124528014, 373584043, 1120752129, 3362256387, 10086769160, 30260307480, 90780922440, 272342767321, 817028301963, 2451084905889, 7353254717666
OFFSET
0,5
FORMULA
O.g.f.: -x^3/((3*x-1)*(x+1)*(x^2-x+1)) = -(1/28)/(3*x-1)-(1/12)/(x+1)+(1/21)*(-5*x+1)/(x^2-x+1). - R. J. Mathar, Nov 28 2007
MATHEMATICA
LinearRecurrence[{3, 0, -1, 3}, {0, 0, 0, 1}, 60] (* Vladimir Joseph Stephan Orlovsky, Jun 20 2011 *)
CROSSREFS
Sequence in context: A027915 A295115 A114982 * A368088 A196952 A148921
KEYWORD
nonn
AUTHOR
Paul Curtz, Nov 24 2007
STATUS
approved