login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A103204 a(1) = 2, a(2) = 4; a(n) = 2*a(n-1) - 1. 4
2, 4, 7, 13, 25, 49, 97, 193, 385, 769, 1537, 3073, 6145, 12289, 24577, 49153, 98305, 196609, 393217, 786433, 1572865, 3145729, 6291457, 12582913, 25165825, 50331649, 100663297, 201326593, 402653185, 805306369, 1610612737, 3221225473 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

LINKS

Index to sequences with linear recurrences with constant coefficients, signature (3,-2).

FORMULA

a(n) = 3*2^(n-2) + 1 for n>1. - Ralf Stephan, May 18 2007

a(n) = A004119(n-1), n>1. - R. J. Mathar, Jun 11 2010

G.f.: x*(2-2*x-x^2)/(1-3*x+2*x^2). a(n) = 3*a(n-1)-2*a(n-2), n>3. - Colin Barker, Jan 29 2012

MATHEMATICA

a[1] = 2; a[2] = 4; a[n_] := a[n] = 2*a[n - 1] - 1; Table[a[n], {n, 1, 32}]

CROSSREFS

Cf. A003945(n-1) + 1.

Sequence in context: A176485 A119266 A102026 * A017995 A099155 A068031

Adjacent sequences:  A103201 A103202 A103203 * A103205 A103206 A103207

KEYWORD

nonn,easy,changed

AUTHOR

Roger Bagula (rlbagulatftn(AT)yahoo.com), Mar 19 2005

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 11:32 EST 2012. Contains 205623 sequences.