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!)
A014901 a(1)=1, a(n) = 18*a(n-1) + n. 2
1, 20, 363, 6538, 117689, 2118408, 38131351, 686364326, 12354557877, 222382041796, 4002876752339, 72051781542114, 1296932067758065, 23344777219645184, 420205989953613327, 7563707819165039902, 136146740744970718253 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(1)=1, a(2)=20, a(3)=363, a(n) = 20*a(n-1) - 37*a(n-2) + 18*a(n-3). - Vincenzo Librandi, Oct 20 2012
MATHEMATICA
LinearRecurrence[{20, -37, 18}, {1, 20, 363}, 20] (* Vincenzo Librandi, Oct 20 2012 *)
nxt[{n_, a_}]:={n+1, 18a+n+1}; NestList[nxt, {1, 1}, 20][[All, 2]] (* Harvey P. Dale, Oct 08 2017 *)
PROG
(Magma) I:=[1, 20, 363]; [n le 3 select I[n] else 20*Self(n-1) - 37*Self(n-2) + 18*Self(n-3): n in [1..20]]; // Vincenzo Librandi, Oct 20 2012
(Maxima)
a[1]:1$
a[2]:20$
a[3]:363$
a[n]:=20*a[n-1]-37*a[n-2]+18*a[n-3]$
A014901(n):=a[n]$
makelist(A014901(n), n, 1, 30); /* Martin Ettl, Nov 06 2012 */
CROSSREFS
Sequence in context: A115100 A049683 A228330 * A290581 A000564 A365415
KEYWORD
nonn
AUTHOR
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 2 08:32 EDT 2024. Contains 373033 sequences. (Running on oeis4.)