OFFSET
0,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
G. Myerson and A. J. van der Poorten, Some problems concerning recurrence sequences, Amer. Math. Monthly 102 (1995), no. 8, 698-705.
Index entries for linear recurrences with constant coefficients, signature (6,-12,8).
FORMULA
O.g.f.: -(8-39*x+50*x^2)/(-1+2*x)^3 . - R. J. Mathar, Feb 08 2008
From G. C. Greubel, Oct 14 2016: (Start)
a(n) = 6*a(n-1) - 12*a(n-2) + 8*a(n-3).
E.g.f.: (2*x^2 - 7*x + 8)*exp(2*x). (End)
MATHEMATICA
Table[(2*n - 8)^2 * 2^(n - 3), {n, 0, 25}] (* or *) LinearRecurrence[{6, -12, 8}, {8, 9, 8}, 25] (* G. C. Greubel, Oct 14 2016 *)
PROG
(PARI) a(n)=(n-4)^2*2^(n-1) \\ Charles R Greathouse IV, Oct 14 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Feb 07 2008
STATUS
approved