Maths Olympiad Prep

Library / Team Selection Test for IMO /35 of 55

Team Selection Test for IMO, 2011

Number theory Difficulty 8.5 Shortlist Prove it Turkey

Let t(n)t(n) denote the sum of the digits in the binary representation of a positive integer nn, and let k≥2k \ge 2 be an integer.

a. Show that there exists a sequence (ai)i=1∞(a_i)_{i=1}^\infty of integers such that am≥3a_m \ge 3 is an odd integer and t(a1a2⋯am)=kt(a_1 a_2 \cdots a_m) = k for all m≥1m \ge 1.

b. Show that there is an integer NN such that t(3⋅5⋯(2m+1))>kt(3 \cdot 5 \cdots (2m + 1)) > k for all integers m≥Nm \ge N.

Solution

a.
Let bn=2(k+1)nk−12(k+1)n−1=2(k+1)n(k−1)+⋯+2(k+1)n+1b_n = \frac{2^{(k+1)n}k - 1}{2^{(k+1)n} - 1} = 2^{(k+1)n(k-1)} + \dots + 2^{(k+1)n} + 1 for n≥0n \ge 0 and
an=bnbn−1=(2(k+1)nk−1)(2(k+1)n−1−1)(2(k+1)n−1)(2(k+1)n−1k−1)for n≥1. a_n = \frac{b_n}{b_{n-1}} = \frac{(2^{(k+1)n}k - 1)(2^{(k+1)n-1} - 1)}{(2^{(k+1)n} - 1)(2^{(k+1)n-1}k - 1)} \quad \text{for } n \ge 1.
Since (2(k+1)n−1,2(k+1)n−1k−1)=2((k+1)n,(k+1)n−1)−1=2(k+1)n−1−1(2^{(k+1)n} - 1, 2^{(k+1)n-1}k - 1) = 2^{((k+1)n, (k+1)n-1)} - 1 = 2^{(k+1)n-1} - 1, ana_n is an integer and t(a1a2…an)=t(bn)=kt(a_1a_2\dots a_n) = t(b_n) = k for all n≥1n \ge 1.

b.
It suffices to show that t(n(2r−1))≥rt(n(2^r - 1)) \ge r for all positive integers nn and rr. We will use induction on nn.

* For n=1n = 1, t(n(2r−1))=t(2r−1)=rt(n(2^r - 1)) = t(2^r - 1) = r.
* Let n>1n > 1. If nn is even, then t(n(2r−1))=t((n/2)(2r−1))≥rt(n(2^r - 1)) = t((n/2)(2^r - 1)) \ge r by the induction hypothesis. Assume that n=2j+1n = 2j + 1 where jj is a positive integer. Then
t(n(2r−1))=t((2j+1)(2r−1))=t((2j+2)(2r−1)−2r+1)=t((2j+2)(2r−1)−2r)+1≥t((2j+2)(2r−1))−1+1=t((j+1)(2r−1))≥r \begin{align*} t(n(2^r - 1)) &= t((2j + 1)(2^r - 1)) \\ &= t((2j + 2)(2^r - 1) - 2^r + 1) \\ &= t((2j + 2)(2^r - 1) - 2^r) + 1 \\ &\ge t((2j + 2)(2^r - 1)) - 1 + 1 \\ &= t((j + 1)(2^r - 1)) \\ &\ge r \end{align*}
where we used the induction hypothesis and the fact that t(i−2r)≥t(i)−1t(i - 2^r) \ge t(i) - 1 for i>2ri > 2^r.

Want a route through all this instead of an archive? The track puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.