OFFSET
0,1
COMMENTS
LINKS
Winston de Greef, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (2,-1).
FORMULA
a(n) = 19 + 24*n = 19 + A008606(n), for n >= 0
a(n) = 2*a(n-1) - a(n-2), for n >= 1, with a(-1) = -5, a(0) = 19.
G.f.: (19 + 5*x)/(1-x)^2.
E.g.f.: (19 + 24*x)*exp(x).
MATHEMATICA
24 * Range[0, 44] + 19 (* Amiram Eldar, Dec 18 2021 *)
PROG
(PARI) a(n) = 19 + 24*n \\ Winston de Greef, Jan 28 2024
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Wolfdieter Lang, Dec 11 2021
STATUS
approved