The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A215145 a(n) = 20*n + 1. 6
1, 21, 41, 61, 81, 101, 121, 141, 161, 181, 201, 221, 241, 261, 281, 301, 321, 341, 361, 381, 401, 421, 441, 461, 481, 501, 521, 541, 561, 581, 601, 621, 641, 661, 681, 701, 721, 741, 761, 781, 801, 821, 841, 861, 881, 901, 921, 941, 961, 981 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
From G. C. Greubel, Apr 19 2018: (Start)
a(n) = 2*a(n - 1) - a(n - 2).
G.f.: (1 + 19*x)/(1 - x)^2.
E.g.f.: (20*x + 1)*exp(x). (End)
MATHEMATICA
Range[1, 1001, 20]
LinearRecurrence[{2, -1}, {1, 21}, 50] (* G. C. Greubel, Apr 19 2018 *)
PROG
(PARI) for(n=0, 50, print1(20*n + 1, ", ")) \\ G. C. Greubel, Apr 19 2018
(Magma) I:=[1, 21]; [n le 2 select I[n] else 2*Self(n-1) - Self(n-2): n in [1..30]]; // G. C. Greubel, Apr 19 2018
(Scala) (1 to 1001 by 20).toList // Alonso del Arte, Feb 20 2020
CROSSREFS
Sequence in context: A320775 A104393 A261522 * A154576 A173960 A147273
KEYWORD
nonn,easy
AUTHOR
Jeremy Gardiner, Aug 04 2012
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 16 17:27 EDT 2024. Contains 372554 sequences. (Running on oeis4.)