OFFSET
1,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (8,-12,-4,1).
FORMULA
From G. C. Greubel, Mar 11 2017: (Start)
a(n) = 8*a(n-1) - 12*a(n-2) - 4*a(n-3) + a(n-4).
G.f.: (2*x^2)*(2-x) / ((1-2*x-x^2)*(1-6*x+x^2)). (End)
MAPLE
MATHEMATICA
LinearRecurrence[{8, -12, -4, 1}, {0, 4, 30, 192}, 50] (* or *) CoefficientList[Series[(2*x^2)*(2-x)/((1-2*x-x^2)*(1-6*x+x^2)), {x, 0, 50}], x] (* G. C. Greubel, Mar 11 2017 *)
PROG
(PARI) x='x+O('x^50); concat([0], Vec((2*x^2)*(2-x)/((1-2*x-x^2)*(1-6*x+x^2)))) \\ G. C. Greubel, Mar 11 2017
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
K. B. Subramaniam (subramaniam_kb05(AT)yahoo.co.in), Nov 02 2005
EXTENSIONS
Corrected and extended by R. J. Mathar, Feb 08 2008
STATUS
approved