OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..3000
Tanya Khovanova, Recursive Sequences
Index entries for linear recurrences with constant coefficients, signature (2,-1).
FORMULA
From Elmo R. Oliveira, Mar 21 2024: (Start)
G.f.: (1+23*x)/(1-x)^2.
E.g.f.: exp(x)*(1 + 24*x).
a(n) = 2*a(n-1) - a(n-2) for n >= 2. (End)
MATHEMATICA
Range[1, 2000, 24] (* Vladimir Joseph Stephan Orlovsky, Jun 14 2011 *)
PROG
(PARI) a(n)=24*n+1 \\ Charles R Greathouse IV, Jun 14 2011
(Magma) [24*n+1: n in [0..60]]; // Vincenzo Librandi, Jun 15 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Ralf Stephan, Jan 28 2005
STATUS
approved