login
A015593
a(n) = 11*a(n-1) + 2*a(n-2).
1
0, 1, 11, 123, 1375, 15371, 171831, 1920883, 21473375, 240048891, 2683484551, 29998427843, 335349675375, 3748843284811, 41907975483671, 468485416890003, 5237155536757375, 58545681738111131, 654476810192737191, 7316336275596331363
OFFSET
0,3
FORMULA
G.f.: 1/(1 - 11*x - 2*x^2). - Zerinvary Lajos, Dec 20 2008
MATHEMATICA
Join[{a=0, b=1}, Table[c=11*b+2*a; a=b; b=c, {n, 60}]] (* Vladimir Joseph Stephan Orlovsky, Jan 31 2011 *)
LinearRecurrence[{11, 2}, {0, 1}, 30] (* Vincenzo Librandi, Nov 15 2012 *)
PROG
(Sage) [lucas_number1(n, 11, -2) for n in range(0, 18)] # Zerinvary Lajos, Apr 27 2009
(Magma) [n le 2 select n-1 else 11*Self(n-1) + 2*Self(n-2): n in [1..30]]; // Vincenzo Librandi, Nov 15 2012
CROSSREFS
Sequence in context: A015499 A039438 A258843 * A224816 A015594 A376146
KEYWORD
nonn,easy
EXTENSIONS
Entries verified by Neven Juric (neven.juric(AT)apis-it.hr), Jan 28 2008
STATUS
approved