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!)
A014898 a(1)=1, a(n) = 15*a(n-1) + n. 3
1, 17, 258, 3874, 58115, 871731, 13075972, 196139588, 2942093829, 44131407445, 661971111686, 9929566675302, 148943500129543, 2234152501943159, 33512287529147400, 502684312937211016, 7540264694058165257 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = 17*a(n-1) - 31*a(n-2) + 15*a(n-3); a(1)=1, a(2)=17, a(3)=258. - Vincenzo Librandi, Oct 20 2012
MATHEMATICA
LinearRecurrence[{17, -31, 15}, {1, 17, 258}, 20] (* Vincenzo Librandi, Oct 20 2012 *)
PROG
(Magma) I:=[1, 17, 258]; [n le 3 select I[n] else 17*Self(n-1) - 31*Self(n-2) + 15*Self(n-3): n in [1..20]]; // Vincenzo Librandi, Oct 20 2012
CROSSREFS
Sequence in context: A193329 A256499 A217796 * A048446 A001282 A135214
KEYWORD
nonn,easy
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 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)