OFFSET
1,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (2, 16, 16).
FORMULA
G.f.: -x*(1+12*x+16*x^2) / ( (2*x+1)*(8*x^2+4*x-1) ). - Harvey P. Dale, May 03 2011
a(n) = (A180222(n+2) +(-2)^n)/2. - R. J. Mathar, Oct 08 2016
EXAMPLE
a(5) = 1904 = 2*a(4) + 16*a(3) + 16*a(2) = 2*360 + 16*60 + 16*14.
a(4) = 360 since term (1,1) of X^4 = 360.
MATHEMATICA
LinearRecurrence[{2, 16, 16}, {1, 14, 60}, 40] (* or *) CoefficientList[Series[(-1-12 x-16 x^2)/(-1+2 x+16 x^2+16 x^3), {x, 0, 40}], x] (* Harvey P. Dale, May 03 2011 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Gary W. Adamson, May 11 2008
STATUS
approved