OFFSET
0,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (7, -12).
FORMULA
G.f.: 2*x*(1-2*x)/((1-3*x)*(1-4*x)). - Colin Barker, Jan 20 2012
MATHEMATICA
Join[{0}, Table[4^n-2*3^(n-1), {n, 30}]] (* or *) LinearRecurrence[{7, -12}, {0, 2, 10}, 30] (* Harvey P. Dale, Dec 29 2023 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Max Alekseyev, Feb 26 2003
STATUS
approved