login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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: A058089 A055519 A380150 * A369470 A218119 A350340
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Nov 03 2011
STATUS
approved