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!)
A014900 a(1)=1, a(n)=17*a(n-1)+n. 1
1, 19, 326, 5546, 94287, 1602885, 27249052, 463233892, 7874976173, 133874594951, 2275868114178, 38689757941038, 657725884997659, 11181340044960217, 190082780764323704, 3231407272993502984, 54933923640889550745, 933876701895122362683 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(1)=1, a(2)=19, a(3)=326, a(n)=19*a(n-1)-35*a(n-2)+17*a(n-3). - Vincenzo Librandi, Oct 20 2012
MAPLE
a:=n->sum((17^(n-j)-1)/16, j=0..n): seq(a(n), n=1..16); # Zerinvary Lajos, Jan 05 2007
a:= n-> (Matrix([[1, 0, 1], [1, 1, 1], [0, 0, 17]])^n)[2, 3]:
seq(a(n), n=1..16); # Alois P. Heinz, Aug 06 2008
MATHEMATICA
LinearRecurrence[{19, -35, 17}, {1, 19, 326}, 20] (* Vincenzo Librandi, Oct 20 2012 *)
nxt[{n_, a_}]:={n+1, 17a+n+1}; NestList[nxt, {1, 1}, 20][[All, 2]] (* Harvey P. Dale, Jun 19 2021 *)
PROG
(Magma) I:=[1, 19, 326]; [n le 3 select I[n] else 19*Self(n-1) - 35*Self(n-2) + 17*Self(n-3): n in [1..20]]; // Vincenzo Librandi, Oct 20 2012
CROSSREFS
Sequence in context: A143699 A015676 A098304 * A121324 A093973 A345963
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 April 19 05:19 EDT 2024. Contains 371782 sequences. (Running on oeis4.)