OFFSET
0,2
COMMENTS
a(n) = T(2, n), array T given by A048494.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..2000
Index entries for linear recurrences with constant coefficients, signature (5, -8, 4).
FORMULA
From R. J. Mathar, Oct 31 2008: (Start)
a(n) = 5*a(n-1) - 8*a(n-2) + 4*a(n-3).
G.f.: (1 - 3*x + 5*x^2)/((1-x)(1-2*x)^2). (End)
PROG
(Magma) [2^(n-1)*(3*n-4)+3 : n in [0..30]]; // Vincenzo Librandi, Sep 26 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
Formula from Ralf Stephan, Jan 15 2004
STATUS
approved