login
A199032
a(n) = 3*12^n-1.
1
2, 35, 431, 5183, 62207, 746495, 8957951, 107495423, 1289945087, 15479341055, 185752092671, 2229025112063, 26748301344767, 320979616137215, 3851755393646591, 46221064723759103, 554652776685109247, 6655833320221310975
OFFSET
0,1
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
Sequence in context: A089660 A058089 A055519 * A369470 A218119 A350340
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Nov 03 2011
STATUS
approved