OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..900
Index entries for linear recurrences with constant coefficients, signature (13,-12).
FORMULA
a(n) = 12*a(n-1)+11.
a(n) = 13*a(n-1)-12*a(n-2).
G.f.: (1+10*x)/((1-x)*(1-12*x)). - Bruno Berselli, Nov 03 2011
MATHEMATICA
LinearRecurrence[{13, -12}, {1, 23}, 40] (* Harvey P. Dale, Feb 21 2013 *)
PROG
(Magma) [2*12^n-1: n in [0..20]];
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Nov 03 2011
STATUS
approved