login
A015598
a(n) = 11*a(n-1) + 6*a(n-2).
1
0, 1, 11, 127, 1463, 16855, 194183, 2237143, 25773671, 296933239, 3420907655, 39411583639, 454052865959, 5231051027383, 60265878496967, 694310969630935, 7999015936922087, 92155041123928567, 1061699547984746759, 12231625274575785751
OFFSET
0,3
FORMULA
G.f.: x/(1-11*x-6*x^2). [Zerinvary Lajos, Apr 27 2009]
MATHEMATICA
Join[{a=0, b=1}, Table[c=11*b+6*a; a=b; b=c, {n, 60}]] (* Vladimir Joseph Stephan Orlovsky, Jan 31 2011 *)
LinearRecurrence[{11, 6}, {0, 1}, 30] (* Harvey P. Dale, Oct 05 2012 *)
PROG
(Sage) [lucas_number1(n, 11, -6) for n in range(0, 18)]# [Zerinvary Lajos, Apr 27 2009]
(Magma) [n le 2 select n-1 else 11*Self(n-1) + 6*Self(n-2): n in [1..30]]; // Vincenzo Librandi, Nov 22 2012
CROSSREFS
Sequence in context: A053546 A084975 A065543 * A363111 A181012 A168327
KEYWORD
nonn,easy
STATUS
approved