OFFSET
0,1
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.: (2+9*x)/((1-x)*(1-12*x)). - Bruno Berselli, Nov 03 2011
MATHEMATICA
3*12^Range[0, 30]-1 (* or *) LinearRecurrence[{13, -12}, {2, 35}, 30] (* Harvey P. Dale, Apr 20 2015 *)
PROG
(Magma) [3*12^n-1 : n in [0..20]]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Nov 03 2011
STATUS
approved