|
Search: id:A138377
|
|
|
| A138377 |
|
a(0) = 0, a(1) = 1, a(2) = 3, a(3) = 2; thereafter a(n)=-4a(n-4). |
|
+0 6
|
|
| 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; listen)
|
|
|
OFFSET
|
0,3
|
|
|
COMMENT
|
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: A127571 A143612 A011231 this_sequence A021316 A092092 A086800
Adjacent sequences: A138374 A138375 A138376 this_sequence 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
|
|
|
Search completed in 0.002 seconds
|