|
|
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
|
|
|
MATHEMATICA
|
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
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|