OFFSET
0,1
COMMENTS
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..5000
Index entries for linear recurrences with constant coefficients, signature (2,-1).
FORMULA
From Chai Wah Wu, Apr 14 2017: (Start)
a(n) = 2*a(n-1) - a(n-2) for n > 1.
G.f.: (152*x + 19)/(x - 1)^2. (End)
From Elmo R. Oliveira, Apr 11 2024: (Start)
E.g.f.: 19*exp(x)*(1 + 9*x).
MATHEMATICA
Range[0, 100]*171 + 19 (* Paolo Xausa, Apr 17 2024 *)
PROG
(Magma) [19*(9*n + 1): n in [0..50]]; // Vincenzo Librandi, Jul 23 2011
(PARI) a(n)=171*n+19 \\ Charles R Greathouse IV, Oct 05 2011
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Omar E. Pol, May 21 2008
STATUS
approved