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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A140504 2^n+4. 6
5, 6, 8, 12, 20, 36, 68, 132, 260, 516, 1028, 2052, 4100, 8196, 16388, 32772, 65540, 131076, 262148, 524292, 1048580, 2097156, 4194308, 8388612, 16777220, 33554436, 67108868, 134217732, 268435460, 536870916, 1073741828 (list; graph; refs; listen; history; internal format)
OFFSET

0,1

COMMENTS

a(n) = A173786(n,2) for n>1; a(n+2)*A028399(n)=A175164(2*n). [From Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Feb 28 2010]

LINKS

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

FORMULA

G.f.: (5-9*x)/((1-x)*(1-2*x)) [From Jaume Oliver Lafont (joliverlafont(AT)gmail.com), Aug 30 2009]

a(n)=2*a(n-1)-4 (with a(0)=5) [From Vincenzo Librandi, Nov 24 2009]

MATHEMATICA

Table[2^n + 4, {n, 0, 30}] [From Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Aug 04 2008]

PROG

(Other) sage: [gaussian_binomial(n, 1, 2)+5 for n in xrange(0, 31)] # [From Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), May 31 2009]

(PARI) a(n)=2^n+4 \\ Charles R Greathouse IV, Dec 21 2011

CROSSREFS

Sequence in context: A193569 A032721 A105106 * A120131 A047437 A188054

Adjacent sequences:  A140501 A140502 A140503 * A140505 A140506 A140507

KEYWORD

nonn,easy

AUTHOR

Paul Curtz (bopcrtz(AT)free.fr), Jun 30 2008

EXTENSIONS

More terms from Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Aug 04 2008

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 16 03:44 EST 2012. Contains 205860 sequences.