OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..100
Index entries for linear recurrences with constant coefficients, signature (4,2).
FORMULA
G.f.: 2*x*(2-7*x)/(1-4*x-2*x^2). - Bruno Berselli, May 24 2011
MATHEMATICA
LinearRecurrence[{4, 2}, {4, 2}, 40]
PROG
(Maxima) a[1]:4$ a[2]:2$ a[n]:=4*a[n-1]+2*a[n-2]$ makelist(a[n], n, 1, 25); /* Bruno Berselli, May 24 2011 */
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Harvey P. Dale, Apr 26 2011
STATUS
approved