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”).

A164094
a(n) = 3*2^n + 2.
4
5, 8, 14, 26, 50, 98, 194, 386, 770, 1538, 3074, 6146, 12290, 24578, 49154, 98306, 196610, 393218, 786434, 1572866, 3145730, 6291458, 12582914, 25165826, 50331650, 100663298, 201326594, 402653186, 805306370, 1610612738, 3221225474
OFFSET
0,1
FORMULA
a(n) = A007283(n) + 2 = 3*a(n-1) - 2*a(n-2).
G.f.: (5-7*x)/((2*x-1)*(x-1)).
MATHEMATICA
#+2&/@(3 2^Range[0, 30]) (* Harvey P. Dale, Jan 23 2011 *)
PROG
(PARI) a(n)= 3<<n+2 \\ Charles R Greathouse IV, Jan 11 2012
CROSSREFS
Cf. A007283.
Sequence in context: A101835 A192522 A133641 * A246319 A302649 A286835
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Aug 10 2009
EXTENSIONS
Offset corrected by R. J. Mathar, Aug 21 2009
STATUS
approved