A199114 a(n) = 11*3^n+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
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (4,-3).
Programs
-
Magma
[11*3^n+1: n in [0..30]];
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