OFFSET
0,1
COMMENTS
Also 2*A140660.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (5,-4).
FORMULA
From R. J. Mathar, Feb 07 2009: (Start)
a(n) = 5*a(n-1) - 4*a(n-2).
G.f.: 2(4-7x)/((1-x)(1-4x)). (End)
MATHEMATICA
6*4^Range[0, 30]+2 (* or *) LinearRecurrence[{5, -4}, {8, 26}, 30] (* Harvey P. Dale, Apr 15 2019 *)
PROG
(Magma) [6*4^n+2: n in [0..30]]; // Vincenzo Librandi, Aug 08 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Jul 14 2008
EXTENSIONS
More terms from R. J. Mathar, Feb 07 2009
STATUS
approved