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) = 17 + 24*n = 17 + A008606(n), for n >= 0
a(n) = 2*a(n-1) - a(n-2), for n >= 1, with a(-1) = -7, a(0) = 17.
G.f.: (17 + 7*x)/(1-x)^2.
E.g.f.: (17 + 24*x)*exp(x).
MATHEMATICA
24 * Range[0, 44] + 17 (* Amiram Eldar, Dec 18 2021 *)
PROG
(PARI) a(n) = 17 + 24*n \\ Winston de Greef, Jan 28 2024
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Wolfdieter Lang, Dec 11 2021
STATUS
approved