Maths Olympiad Prep

Library / /81 of 86

Number theory Difficulty 7.7 National Olympiad, round 2 Prove it United States

Problem:

For n1n \geq 1, let ana_{n} be the largest odd divisor of nn, and let bn=a1+a2++anb_{n}=a_{1}+a_{2}+\cdots+a_{n}. Prove that bnn2+23b_{n} \geq \frac{n^{2}+2}{3}, and determine for which nn equality holds. For example,
a1=1, a2=1, a3=3, a4=1, a5=5, a6=3 a_{1}=1,\ a_{2}=1,\ a_{3}=3,\ a_{4}=1,\ a_{5}=5,\ a_{6}=3
thus
b6=1+1+3+1+5+3=1462+23=1223. b_{6}=1+1+3+1+5+3=14 \geq \frac{6^{2}+2}{3}=12 \frac{2}{3} .

Solution

Solution:

Inspecting a few values leads one to the correct guess that equality holds if and only if nn is a power of 22. The idea is to use induction by "doubling" to prove the result. When n=1n=1, we have 1=11=1 as desired. Now suppose n2n \geq 2. If n=2kn=2k with k1k \geq 1, then
bn=(a1+a3++a2k1)+(a2+a4++a2k)=1+3++(2k1)+(a1+a2++ak)=k2+bkk2+(k2+2)/3 (by the inductive hypothesis) =(n2+2)/3, \begin{aligned} b_{n} & =\left(a_{1}+a_{3}+\cdots+a_{2k-1}\right)+\left(a_{2}+a_{4}+\cdots+a_{2k}\right) \\ & =1+3+\cdots+(2k-1)+\left(a_{1}+a_{2}+\cdots+a_{k}\right) \\ & =k^{2}+b_{k} \\ & \geq k^{2}+\left(k^{2}+2\right) / 3 \quad \text{ (by the inductive hypothesis) } \\ & =\left(n^{2}+2\right) / 3, \end{aligned}
with equality if and only if kk is a power of 22, i.e., if and only if nn is a power of 22. If instead n=2k+1n=2k+1 with k1k \geq 1, then
bn=(a1+a3++a2k+1)+(a2+a4++a2k)=1+3++(2k+1)+(a1+a2++ak)=(k+1)2+bk(k+1)2+(k2+2)/3 (by the inductive hypothesis) =(2k+1)2+23+2k+23>(n2+2)/3 \begin{aligned} b_{n} & =\left(a_{1}+a_{3}+\cdots+a_{2k+1}\right)+\left(a_{2}+a_{4}+\cdots+a_{2k}\right) \\ & =1+3+\cdots+(2k+1)+\left(a_{1}+a_{2}+\cdots+a_{k}\right) \\ & =(k+1)^{2}+b_{k} \\ & \geq(k+1)^{2}+\left(k^{2}+2\right) / 3 \quad \text{ (by the inductive hypothesis) } \\ & =\frac{(2k+1)^{2}+2}{3}+\frac{2k+2}{3} \\ & >\left(n^{2}+2\right) / 3 \end{aligned}
so strict inequality holds, as desired.

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

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