A102439 a(n) = 100*n + 4.
4, 104, 204, 304, 404, 504, 604, 704, 804, 904, 1004, 1104, 1204, 1304, 1404, 1504, 1604, 1704, 1804, 1904, 2004, 2104, 2204, 2304, 2404, 2504, 2604, 2704, 2804, 2904, 3004, 3104, 3204, 3304, 3404, 3504, 3604, 3704, 3804, 3904, 4004, 4104, 4204, 4304, 4404, 4504
Offset: 0
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).
Crossrefs
Cf. A158060.
Programs
-
Magma
[100*n+4: n in [0..50]]; // Vincenzo Librandi, Jun 04 2011
-
Mathematica
100 Range[0,40]+4 (* or *) LinearRecurrence[{2,-1},{4,104},50] (* Harvey P. Dale, Aug 30 2021 *)
-
PARI
a(n)=100*n+4 \\ Charles R Greathouse IV, Jun 05 2011
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)
Extensions
Edited by N. J. A. Sloane, Jan 31 2009