OFFSET
0,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (7,-14,8).
FORMULA
a(n)= 7*a(n-1) -14*a(n-2) +8*a(n-3). G.f.: 2*(2-10*x+11*x^2)/((1-x) * (2*x-1) * (4*x-1)). [From R. J. Mathar, Feb 15 2010]
MATHEMATICA
Table[4^n+2^n+2, {n, 0, 30}] (* or *) LinearRecurrence[{7, -14, 8}, {4, 8, 22}, 30] (* Harvey P. Dale, Jan 10 2013 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Feb 13 2010
STATUS
approved