OFFSET
0,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (11,-43,69,-36)
FORMULA
a(n) = 2*4^n/3 -5/12 -n*3^(n-1)/2 -3^n/4.
O.g.f.: x*(1-6*x+10*x^2)/[(-1+x)(-1+4*x)(-1+3*x)^2]. - R. J. Mathar, Apr 02 2008
MATHEMATICA
LinearRecurrence[{11, -43, 69, -36}, {0, 1, 5, 22}, 30] (* Harvey P. Dale, Jul 19 2015 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, May 01 2003
STATUS
approved