OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (5,-4).
FORMULA
a(n) = 2*A140660(n).
From R. J. Mathar, Feb 07 2009: (Start)
a(n) = 5*a(n-1) - 4*a(n-2).
G.f.: 2*(4-7*x)/((1-x)*(1-4*x)). (End)
E.g.f.: 2*exp(x)*(3*exp(3*x) + 1). - Elmo R. Oliveira, Apr 02 2025
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
