OFFSET
0,3
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..900
Index entries for linear recurrences with constant coefficients, signature (11,10).
FORMULA
G.f.: x/(1 - 11*x - 10*x^2). - Zerinvary Lajos, Apr 27 2009
a(n) = 11*a(n-1) + 10*a(n-2), with a(0)=0, a(1)=1. - Harvey P. Dale, Feb 02 2015
MATHEMATICA
Join[{a=0, b=1}, Table[c=11*b+10*a; a=b; b=c, {n, 60}]] (* Vladimir Joseph Stephan Orlovsky, Jan 31 2011 *)
LinearRecurrence[{11, 10}, {0, 1}, 30] (* Vincenzo Librandi, Nov 21 2012 *)
PROG
(Sage) [lucas_number1(n, 11, -10) for n in range(0, 18)] # Zerinvary Lajos, Apr 27 2009
(Magma) [n le 2 select n-1 else 11*Self(n-1) + 10*Self(n-2): n in [1..22]]; // Vincenzo Librandi, Nov 21 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
G.f. adapted to the offset by Vincenzo Librandi, Nov 22 2012
STATUS
approved