login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..1000

Index entries for linear recurrences with constant coefficients, signature (3,-2).

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

Adjacent sequences:  A164091 A164092 A164093 * A164095 A164096 A164097

KEYWORD

nonn,easy

AUTHOR

Vincenzo Librandi, Aug 10 2009

EXTENSIONS

Offset corrected by R. J. Mathar, Aug 21 2009

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 23 20:31 EDT 2021. Contains 348215 sequences. (Running on oeis4.)