login
A199114
a(n) = 11*3^n+1.
1
12, 34, 100, 298, 892, 2674, 8020, 24058, 72172, 216514, 649540, 1948618, 5845852, 17537554, 52612660, 157837978, 473513932, 1420541794, 4261625380, 12784876138, 38354628412, 115063885234, 345191655700, 1035574967098, 3106724901292
OFFSET
0,1
FORMULA
a(n) = 3*a(n-1)-2.
a(n) = 4*a(n-1)-3*a(n-2).
G.f.: 2*(6-7*x)/((1-x)*(1-3*x)). - Bruno Berselli, Nov 04 2011
a(n) = 2*A199113(n). - R. J. Mathar, Nov 01 2015
PROG
(Magma) [11*3^n+1: n in [0..30]];
CROSSREFS
Sequence in context: A124705 A296154 A126366 * A009760 A078194 A034510
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Nov 04 2011
STATUS
approved