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!)
A215146 a(n) = 21*n + 1. 3
1, 22, 43, 64, 85, 106, 127, 148, 169, 190, 211, 232, 253, 274, 295, 316, 337, 358, 379, 400, 421, 442, 463, 484, 505, 526, 547, 568, 589, 610, 631, 652, 673, 694, 715, 736, 757, 778, 799, 820, 841, 862, 883, 904, 925, 946, 967, 988 (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+20*x)/(1-x)^2.
E.g.f.: (21*x + 1)*exp(x). (End)
MATHEMATICA
Range[1, 1000, 21]
LinearRecurrence[{2, -1}, {1, 22}, 50] (* G. C. Greubel, Apr 19 2018 *)
PROG
(PARI) for(n=0, 50, print1(21*n + 1, ", ")) \\ G. C. Greubel, Apr 19 2018
(Magma) I:=[1, 22]; [n le 2 select I[n] else 2*Self(n-1) - Self(n-2): n in [1..30]]; // G. C. Greubel, Apr 19 2018
CROSSREFS
Sequence in context: A063327 A066957 A118602 * A086679 A019508 A166058
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 June 6 04:28 EDT 2024. Contains 373115 sequences. (Running on oeis4.)