OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (3,-2).
FORMULA
G.f.: (-9+19*x)/(1-3*x+2*x^2).
a(n) = 3*a(n-1) - 2*a(n-2).
a(n) = A000079(n) - 10.
From Elmo R. Oliveira, Dec 21 2023: (Start)
a(n) = 2*a(n-1) + 10 for n>0.
E.g.f.: exp(x)*(exp(x) - 10). (End)
MATHEMATICA
Table[2^n - 10, {n, 0, 35}] (* or *) CoefficientList[Series[(-9 + 19 x)/(1 - 3 x + 2 x^2), {x, 0, 35}], x]
LinearRecurrence[{3, -2}, {-9, -8}, 50] (* Harvey P. Dale, Jan 11 2024 *)
PROG
(Magma) [2^n-10: n in [0..40]];
(PARI) vector(50, n, 2^(n-1)-10) \\ Derek Orr, Aug 18 2014
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Vincenzo Librandi, Aug 18 2014
STATUS
approved