OFFSET
0,2
COMMENTS
n-th difference of a(n), a(n-1), ..., a(0) is (8, 9, 10, ...).
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..3000
Index entries for linear recurrences with constant coefficients, signature (5,-8,4).
FORMULA
From Vincenzo Librandi, Sep 28 2011: (Start)
a(n) = 2^(n-1)*(n+14) - 6.
a(n) = 5*a(n-1) - 8*a(n-2) + 4*a(n-3), a(0)=1, a(1)=9, a(2)=26. (End)
G.f.: (1+4*x-11*x^2)/((1-x)*(1-2*x)^2). - Colin Barker, Feb 18 2016
E.g.f.: exp(x)*(exp(x)*(7 + x) - 6). - Elmo R. Oliveira, Oct 29 2025
MATHEMATICA
LinearRecurrence[{5, -8, 4}, {1, 9, 26}, 30] (* Harvey P. Dale, Apr 19 2012 *)
PROG
(Magma) [2^(n-1)*(n+14)-6: n in [0..30]]; // Vincenzo Librandi, Sep 28 2011
(PARI) Vec((1+4*x-11*x^2)/((1-x)*(1-2*x)^2) + O(x^40)) \\ Colin Barker, Feb 18 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved
