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!)
A015610 a(n) = 12*a(n-1) + 5*a(n-2) for n >= 2, a(0) = 0, a(1) = 1. 1
0, 1, 12, 149, 1848, 22921, 284292, 3526109, 43734768, 542447761, 6728046972, 83448802469, 1035025864488, 12837554386201, 159225781956852, 1974897155413229, 24494894774743008, 303813223073982241, 3768233150761501932, 46737863924507934389 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
G.f.: x/(1 - 12*x - 5*x^2). - Vincenzo Librandi, Nov 22 2012
MATHEMATICA
Join[{a=0, b=1}, Table[c=12*b+5*a; a=b; b=c, {n, 60}]] (* Vladimir Joseph Stephan Orlovsky, Jan 31 2011 *)
CoefficientList[Series[x/(1 - 12x - 5x^2), {x, 0, 30}], x] (* or *) LinearRecurrence[{12, 5}, {0, 1}, 30] (* Vincenzo Librandi, Nov 22 2012 *)
PROG
(Sage) [lucas_number1(n, 12, -5) for n in range(0, 18)] # Zerinvary Lajos, Apr 29 2009
(Magma) [n le 2 select n-1 else 12*Self(n-1) + 5*Self(n-2): n in [1..30]]; // Vincenzo Librandi, Nov 22 2012
(PARI) x='x+O('x^30); concat([0], Vec(x/(1-12*x-5*x^2))) \\ G. C. Greubel, Dec 30 2017
CROSSREFS
Sequence in context: A001406 A057572 A114106 * A141326 A154733 A305544
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 May 15 02:58 EDT 2024. Contains 372536 sequences. (Running on oeis4.)