login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A138232 First differences of A138231. 1
1, 0, 0, 1, -2, 2, -4, 2, -4, 0, 0, -4, 8, -8, 16, -8, 16, 0, 0, 16, -32, 32, -64, 32, -64, 0, 0, -64, 128, -128, 256, -128, 256, 0, 0, 256, -512, 512, -1024, 512, -1024, 0, 0, -1024, 2048, -2048, 4096, -2048, 4096, 0, 0, 4096, -8192, 8192, -16384, 8192, -16384, 0, 0, -16384, 32768 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
COMMENTS
The sequence contains 2 copies of 1 and 3 copies of the higher powers 2^j (up to sign).
LINKS
FORMULA
a(n) = 2a(n-2)-2a(n-4). a(n) = -4a(n-8).
a(2n) = (-1)^(n+1)*A090132(n). a(2n+1) = A009545(n).
O.g.f.: (x-1)(x^2-x-1)/(1-2x^2+2x^4). - R. J. Mathar, Jul 08 2008
MATHEMATICA
LinearRecurrence[{0, 2, 0, -2}, {1, 0, 0, 1}, 70] (* Harvey P. Dale, Apr 23 2022 *)
CROSSREFS
Sequence in context: A138785 A131817 A214430 * A248913 A227951 A102641
KEYWORD
sign
AUTHOR
Paul Curtz, May 05 2008
EXTENSIONS
Edited by R. J. Mathar, Jul 08 2008
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 11:52 EDT 2024. Contains 371779 sequences. (Running on oeis4.)