Maths Olympiad Prep

Library / /9 of 13

, 2013

Algebra Difficulty 8.1 Shortlist Prove it Saudi Arabia

Let f:Z0Z0f: \mathbb{Z}_{\geq 0} \rightarrow \mathbb{Z}_{\geq 0} be a function which satisfies for all integer n0n \geq 0 :
(a) f(2n+1)2f(2n)2=6f(n)+1f(2n+1)^2 - f(2n)^2 = 6f(n) + 1,
(b) f(2n)f(n)f(2n) \geq f(n);
where Z0\mathbb{Z}_{\geq 0} is the set of nonnegative integers. Solve the equation f(n)=1000f(n) = 1000.

Solution

Let nn be a nonnegative integer. We have
f(2n)2<f(2n)2+6f(n)+1=f(2n+1)2<f(2n)2+6f(2n)+9=(f(2n)+3)2. f(2n)^2 < f(2n)^2 + 6f(n) + 1 = f(2n+1)^2 < f(2n)^2 + 6f(2n) + 9 = (f(2n) + 3)^2.
Therefore,
f(2n)<f(2n+1)<f(2n)+3. f(2n) < f(2n+1) < f(2n) + 3.
Assume that f(2n+1)=f(2n)+2f(2n+1) = f(2n) + 2. In this case
6f(n)+1=f(2n+1)2f(2n)2=4f(2n)+4. 6f(n) + 1 = f(2n+1)^2 - f(2n)^2 = 4f(2n) + 4.
This is impossible since the left hand side is odd while the right hand side is even. Therefore f(2n+1)=f(2n)+1f(2n+1) = f(2n) + 1.

On the other hand,
6f(n)+1=f(2n+1)2f(2n)2=2f(2n)+1. 6f(n) + 1 = f(2n+1)^2 - f(2n)^2 = 2f(2n) + 1.
We deduce that f(2n)=3f(n)f(2n) = 3f(n), and f(0)=0f(0) = 0.

Now, let n0n \geq 0 and write n=a1a2ak(2)n = \overline{a_1 a_2 \cdots a_k}_{(2)} in basis 2. We prove by induction on kk that f(n)=a1a2ak(3)f(n) = \overline{a_1 a_2 \cdots a_k}_{(3)} in basis 3.

For k=1k = 1, we have
f(0(2))=f(0)=0=0(3)andf(1(2))=f(1)=f(0)+1=1=1(3). f\left(\overline{0}_{(2)}\right) = f(0) = 0 = \overline{0}_{(3)} \quad \text{and} \quad f\left(\overline{1}_{(2)}\right) = f(1) = f(0) + 1 = 1 = \overline{1}_{(3)}.
Assume this true for kk. We have
f(a1a2akak+1(2))=f(2a1a2ak(2)+ak+1)=f(2a1a2ak(2))+ak+1=3f(a1a2ak(2))+ak+1=3a1a2ak(3)+ak+1=a1a2akak+1(3). \begin{aligned} f\left(\overline{a_1 a_2 \cdots a_k a_{k+1}}_{(2)}\right) & = f\left(2\, \overline{a_1 a_2 \cdots a_k}_{(2)} + a_{k+1}\right) \\ & = f\left(2\, \overline{a_1 a_2 \cdots a_k}_{(2)}\right) + a_{k+1} \\ & = 3 f\left(\overline{a_1 a_2 \cdots a_k}_{(2)}\right) + a_{k+1} \\ & = 3 \overline{a_1 a_2 \cdots a_k}_{(3)} + a_{k+1} \\ & = \overline{a_1 a_2 \cdots a_k a_{k+1}}_{(3)} \\ & . \end{aligned}
This completes the induction.

Applying this to 1000, we have
1000=1101001(3)=f(1101001(2))=f(105). 1000 = \overline{1101001}_{(3)} = f\left(\overline{1101001}_{(2)}\right) = f(105).

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 and solution reproduced as published; topic and difficulty added by this site.