Difference between revisions of "2020 CIME I Problems/Problem 12"
(solution) |
|||
Line 3: | Line 3: | ||
==Solution== | ==Solution== | ||
− | {{ | + | We simply test out some values first. Denote <math>P(n)=\prod_{i=0}^n a_i</math>; we must find <math>P(10)</math>. Additionally, notice that <math>P(n)=a_nP(n-1)</math>. |
+ | |||
+ | We clearly see that <math>P(0)=a_0=11_2</math>. The sum of the digits is <math>2</math>. | ||
+ | |||
+ | Next, we can quickly calculate that <math>P(1)=a_1P(0)=100111_2</math>, whose sum of digits is <math>4</math>. | ||
+ | |||
+ | Then, we can find (after more effort) that <math>P(2)=a_2P(1)=10010010110111_2</math>, whose sum of digits is <math>8</math>. | ||
+ | |||
+ | The above hints towards a pattern; denote the sum of digits of <math>P(n)</math> as <math>S(n)</math>; we quickly realize due to the <math>2,4,8</math> pattern that we can guess <math>S(n)=2^{n+1}</math>. Calculating <math>P(3)</math> confirms this theory, so we assume that it is true and plug in: | ||
+ | <cmath>S(10)=2^{11}=2048\rightarrow \boxed{048}</cmath> | ||
+ | |||
+ | ~ [https://artofproblemsolving.com/wiki/index.php/User:Eevee9406 eevee9406] | ||
==See also== | ==See also== | ||
{{CIME box|year=2020|n=I|num-b=11|num-a=13}} | {{CIME box|year=2020|n=I|num-b=11|num-a=13}} | ||
{{MAC Notice}} | {{MAC Notice}} |
Latest revision as of 02:08, 16 April 2025
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 |