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!)
A257259 a(n) = A218542(n) - A218543(n). 2
1, -1, 0, -1, -1, -3, -1, -6, -8, -10, -7, -4, 2, 2, -14, -90, -318, -896, -2166, -4691, -9298, -17175, -30007, -50261, -81664, -129637, -200973, -301205, -426500, -545183, -561511, -252122, 836543, 3542930, 9312475, 20508985, 40858087, 76119037, 135203839, 232236417, 390709345, 652711050, 1101492173, 1921013671, 3558812217, 7170401227, 15800043812, 37400877416 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,6
COMMENTS
a(n) = the difference between the number of even and odd numbers encountered when traversing from 2^(n+1)-1 to (2^n)-1 by iterating the map A011371: x -> x - (number of 1's in binary representation of x).
LINKS
FORMULA
a(n) = A218542(n) - A218543(n).
PROG
(Scheme) (define (A257259 n) (- (A218542 n) (A218543 n)))
CROSSREFS
Partial sums: A257805.
Sequence in context: A226483 A103407 A306938 * A074475 A144877 A049410
KEYWORD
sign
AUTHOR
Antti Karttunen, May 13 2015
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 19 04:35 EDT 2024. Contains 371782 sequences. (Running on oeis4.)