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
a(n) = 2*a(n-1)-a(n-2). - Wesley Ivan Hurt, Jun 17 2021
From Elmo R. Oliveira, Apr 04 2024: (Start)
G.f.: 8*(2+13*x)/(x-1)^2.
E.g.f.: 8*exp(x)*(2 + 15*x).
a(n) = 8*(A008597(n) + 2). (End)
PROG
(Magma) [8*(15*n + 2): n in [0..60]]; // Vincenzo Librandi, Jul 23 2011
(PARI) a(n)=120*n+16 \\ Charles R Greathouse IV, Oct 05 2011
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Omar E. Pol, Apr 27 2008
STATUS
approved