OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..5000
Tanya Khovanova, Recursive Sequences.
Index entries for linear recurrences with constant coefficients, signature (2,-1).
FORMULA
G.f.: 4*(1+24*x)/(-1+x)^2. - Harvey P. Dale, Aug 30 2021
From Elmo R. Oliveira, Jun 09 2025: (Start)
E.g.f.: 4*exp(x)*(1 + 25*x).
a(n) = 4*A158060(n) for n > 0.
a(n) = 2*a(n-1) - a(n-2). (End)
MATHEMATICA
100 Range[0, 40]+4 (* or *) LinearRecurrence[{2, -1}, {4, 104}, 50] (* Harvey P. Dale, Aug 30 2021 *)
PROG
(Magma)[100*n+4: n in [0..50]]; // Vincenzo Librandi, Jun 04 2011
(PARI) a(n)=100*n+4 \\ Charles R Greathouse IV, Jun 05 2011
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Giovanni Teofilatto, Feb 23 2005
EXTENSIONS
Edited by N. J. A. Sloane, Jan 31 2009
STATUS
approved
