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!)
A014903 a(1)=1, a(n) = 19*a(n-1) + n. 3
1, 21, 402, 7642, 145203, 2758863, 52418404, 995949684, 18923044005, 359537836105, 6831218886006, 129793158834126, 2466070017848407, 46855330339119747, 890251276443275208, 16914774252422228968, 321380710796022350409, 6106233505124424657789 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(1)=1, a(2)=21, a(3)=402, a(n) = 21*a(n-1) - 39*a(n-2) + 19*a(n-3). - Vincenzo Librandi, Oct 20 2012
MATHEMATICA
LinearRecurrence[{21, -39, 19}, {1, 21, 402}, 20] (* Vincenzo Librandi, Oct 20 2012 *)
PROG
(Magma) I:=[1, 21, 402]; [n le 3 select I[n] else 21*Self(n-1) - 39*Self(n-2) + 19*Self(n-3): n in [1..20]]; // Vincenzo Librandi, Oct 20 2012
CROSSREFS
Sequence in context: A113363 A223459 A240655 * A219308 A358698 A020534
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 24 15:57 EDT 2024. Contains 371961 sequences. (Running on oeis4.)