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

 

Logo

Invitation: celebrating 50 years of OEIS, 250000 sequences, and Sloane's 75th, there will be a conference at DIMACS, Rutgers, Oct 9-10 2014.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A029746 2^n or 7.2^n. 0
1, 2, 4, 7, 8, 14, 16, 28, 32, 56, 64, 112, 128, 224, 256, 448, 512, 896, 1024, 1792, 2048, 3584, 4096, 7168, 8192, 14336, 16384, 28672, 32768, 57344, 65536, 114688, 131072, 229376, 262144, 458752, 524288, 917504, 1048576, 1835008, 2097152 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Table of n, a(n) for n=0..40.

Index entries for sequences related to linear recurrences with constant coefficients, signature (0,2)

FORMULA

G.f.: (1+2x+2x^2+3x^3)/(1-2x^2). - Michael Somos, Nov 05 2002

MATHEMATICA

Sort[Flatten[{#, 7#}&/@(2^Range[0, 21])]] (* or *) CoefficientList[Series[ (1+2x+2x^2+3x^3)/(1-2x^2), {x, 0, 50}], x]  (* Harvey P. Dale, Apr 23 2011 *)

PROG

(PARI) a(n)=if(n<0, 0, if(n<2, 2^n, if(n%2, 7/2, 2)*2^(n\2)))

CROSSREFS

Sequence in context: A225318 A177805 A003591 * A018708 A018461 A018341

Adjacent sequences:  A029743 A029744 A029745 * A029747 A029748 A029749

KEYWORD

nonn

AUTHOR

N. J. A. Sloane.

STATUS

approved

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

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

Last modified September 1 14:42 EDT 2014. Contains 246307 sequences.