MathDB
Problems
Contests
National and Regional Contests
USA Contests
USA - Other Middle and High School Contests
Math Prize For Girls Problems
2017 Math Prize for Girls Problems
11
Math Prize 2017 Problem 11
Math Prize 2017 Problem 11
Source:
September 26, 2017
Math Prize for Girls
Problem Statement
Let
S
(
N
)
S(N)
S
(
N
)
be the number of 1's in the binary representation of an integer
N
N
N
, and let
D
(
N
)
=
S
(
N
+
1
)
−
S
(
N
)
D(N) = S(N + 1) - S(N)
D
(
N
)
=
S
(
N
+
1
)
−
S
(
N
)
. Compute the sum of
D
(
N
)
D(N)
D
(
N
)
over all
N
N
N
such that
1
≤
N
≤
2017
1 \le N \le 2017
1
≤
N
≤
2017
and
D
(
N
)
<
0
D(N) < 0
D
(
N
)
<
0
.
Back to Problems
View on AoPS