OFFSET
0,1
LINKS
FORMULA
From Elmo R. Oliveira, Dec 08 2024: (Start)
G.f.: (2 + 25*x)/(1 - x)^2.
E.g.f.: (2 + 27*x)*exp(x).
a(n) = 2*a(n-1) - a(n-2) for n >= 2. (End)
MAPLE
MATHEMATICA
27 Range[0, 53] + 2 (* Michael De Vlieger, Jan 24 2017 *)
LinearRecurrence[{2, -1}, {2, 29}, 60] (* Harvey P. Dale, Jul 04 2022 *)
PROG
(Magma) [27*n+2: n in [0..50]];
(PARI) a(n)=27*n+2 \\ Charles R Greathouse IV, Feb 06 2017
CROSSREFS
KEYWORD
nonn,easy,changed
AUTHOR
Juri-Stepan Gerasimov, Jan 23 2017
STATUS
approved