OFFSET
0,2
COMMENTS
Equals binomial transform of A016813 preceded by a "1": (1, 1, 5, 9, 13, 21, ...). [Gary W. Adamson, Jan 13 2009]
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (5,-8,4).
FORMULA
From Colin Barker, Oct 07 2012: (Start)
a(n) = 5*a(n-1) - 8*a(n-2) + 4*a(n-3).
G.f.: (1 - 3*x + 6*x^2)/((1-x)*(1-2*x)^2). (End)
MATHEMATICA
LinearRecurrence[{5, -8, 4}, {1, 2, 8}, 30] (* Harvey P. Dale, Apr 16 2019 *)
PROG
(Magma) [2^(n-1)*(4*n-6)+4: n in [0..30]]; // Vincenzo Librandi, Sep 23 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
Formula from Ralf Stephan, Jan 15 2004
STATUS
approved