login
A015612
a(n) = 12*a(n-1) + 11*a(n-2).
1
0, 1, 12, 155, 1992, 25609, 329220, 4232339, 54409488, 699469585, 8992139388, 115599838091, 1486111590360, 19104937303321, 245606475133812, 3157432011942275, 40590855369779232, 521822016568715809, 6708363607892161260, 86240405476961809019
OFFSET
0,3
FORMULA
G.f.: -(x/(11*x^2 + 12*x - 1)). - Harvey P. Dale, Nov 30 2011
MATHEMATICA
Join[{a=0, b=1}, Table[c=12*b+11*a; a=b; b=c, {n, 60}]] (* Vladimir Joseph Stephan Orlovsky, Jan 31 2011 *)
LinearRecurrence[{12, 11}, {0, 1}, 30] (* or *) CoefficientList[ Series[ -(x/(11 x^2+12 x-1)), {x, 0, 30}], x] (* Harvey P. Dale, Nov 30 2011 *)
PROG
(Sage) [lucas_number1(n, 12, -11) for n in range(0, 18)] # Zerinvary Lajos, Apr 29 2009
(Magma) [n le 2 select n-1 else 12*Self(n-1) + 11*Self(n-2): n in [1..30]]; // Vincenzo Librandi, Nov 22 2012
CROSSREFS
Sequence in context: A004356 A036360 A120657 * A085260 A082173 A005723
KEYWORD
nonn,easy
STATUS
approved