OFFSET
0,2
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
a(n) = T(8, n), array T given by A048494.
G.f.: (1-3*x+11*x^2) / ((1-x)*(1-2*x)^2). - Colin Barker, Aug 24 2016
MAPLE
MATHEMATICA
Table[2^(n-1)*(9n-16)+9, {n, 0, 30}] (* Wesley Ivan Hurt, Dec 04 2013 *)
PROG
(Magma) [2^(n-1)*(9*n-16)+9 : n in [0..30]]; // Vincenzo Librandi, Sep 25 2011
(PARI) Vec((1-3*x+11*x^2)/((1-x)*(1-2*x)^2) + O(x^40)) \\ Colin Barker, Aug 24 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
Formula and more terms from Ralf Stephan, Jan 15 2004
STATUS
approved