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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A138377 a(0) = 0, a(1) = 1, a(2) = 3, a(3) = 2; thereafter a(n)=-4a(n-4). 2
0, 1, 3, 2, 0, -4, -12, -8, 0, 16, 48, 32, 0, -64, -192, -128, 0, 256, 768, 512, 0, -1024, -3072, -2048, 0, 4096, 12288, 8192, 0, -16384, -49152, -32768, 0, 65536, 196608, 131072, 0, -262144, -786432, -524288, 0, 1048576, 3145728, 2097152, 0, -4194304, -12582912, -8388608, 0, 16777216, 50331648 (list; graph; refs; listen; history; internal format)
OFFSET

0,3

COMMENTS

First and third differences have only 2^n's.

FORMULA

O.g.f.: x(1+x)(2x+1)/((1-2x+2x^2)(1+2x+2x^2)). a(n)= (5*A009545(n)-A108520(n))/4. - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), May 09 2008

Ogf([0, 1, 3, 2, 0, -4, -12, -8, 0, 16, 48, 32, 0, -64, -192, -128, 0, 256, 768, 512, 0]) = (2*x^3 + 3*x^2 + x)/(4*x^4 + 1) - Alexander R. Povolotsky (pevnev(AT)juno.com), May 08 2008

CROSSREFS

Cf. A138380, A138382.

Sequence in context: A143612 A011231 A198223 * A021316 A092092 A086800

Adjacent sequences:  A138374 A138375 A138376 * A138378 A138379 A138380

KEYWORD

sign,easy

AUTHOR

Paul Curtz (bpcrtz(AT)free.fr), May 08 2008

EXTENSIONS

More terms from R. J. Mathar (mathar(AT)strw.leidenuniv.nl), May 09 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 17 12:38 EST 2012. Contains 206021 sequences.