2020 CIME I Problems/Problem 12
Problem 12
Define a sequence by
where
is expressed in binary. Let
be the sum of the digits when
is expressed in binary. Find the remainder when
is divided by
.
Solution
We simply test out some values first. Denote ; we must find
. Additionally, notice that
.
We clearly see that . The sum of the digits is
.
Next, we can quickly calculate that , whose sum of digits is
.
Then, we can find (after more effort) that , whose sum of digits is
.
The above hints towards a pattern; denote the sum of digits of as
; we quickly realize due to the
pattern that we can guess
. Calculating
confirms this theory, so we assume that it is true and plug in:
See also
2020 CIME I (Problems • Answer Key • Resources) | ||
Preceded by Problem 11 |
Followed by Problem 13 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 | ||
All CIME Problems and Solutions |
The problems on this page are copyrighted by the MAC's Christmas Mathematics Competitions.