Maths Olympiad Prep

Track / Stage 6 / 118 of 400 #1758 of 2604

Problem 1758

National Olympiad, first round
Number theory Difficulty 6.1 Prove it Switzerland — Final Round · Switzerland

Let nn be a positive integer. Prove that the numbers
11,33,55,…,(2n−1)2n−1 1^{1}, 3^{3}, 5^{5}, \ldots,\left(2^{n}-1\right)^{2^{n}-1}
all give different remainders when divided by 2n2^{n}.

This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.

Next problem →

Official solution

Solution:
Let's prove the statement by induction.

The base case n=1n=1 is trivial.

Let's prove the inductive step. Given that 11,33,55,…,(2n−1)2n−11^{1}, 3^{3}, 5^{5}, \ldots,\left(2^{n}-1\right)^{2^{n}-1} have different residues ( mod  2n)(\bmod\ 2^{n}), we want to show that 11,33,55,…,(2n+1−1)2n+1−11^{1}, 3^{3}, 5^{5}, \ldots,\left(2^{n+1}-1\right)^{2^{n+1}-1} give different results mod 2n+12^{n+1}.

Let's split the 2n2^{n} elements in two sets AA and BB, where
A={11,33,55,…,(2n−1)2n−1} A=\left\{1^{1}, 3^{3}, 5^{5}, \ldots,\left(2^{n}-1\right)^{2^{n}-1}\right\}
and
B={(2n+1)2n+1,(2n+3)2n+3,(2n+5)2n+5,…,(2n+(2n−1))2n+(2n−1)}. B=\left\{\left(2^{n}+1\right)^{2^{n}+1},\left(2^{n}+3\right)^{2^{n}+3},\left(2^{n}+5\right)^{2^{n}+5}, \ldots,\left(2^{n}+\left(2^{n}-1\right)\right)^{2^{n}+\left(2^{n}-1\right)}\right\}.

Let's closely examine the elements in B mod 2n+1B \bmod 2^{n+1}. By Euler-Fermat (we can use it in this case because gcd⁡(2n+k,2n+1)=1\operatorname{gcd}\left(2^{n}+k, 2^{n+1}\right)=1) and the binomial expansion, we have:
(2n+k)2n+k≡(2n+k)k≡∑s=0k(ks)⋅2ns⋅kk−s≡2n⋅kk+kk≡2n+kk( mod 2n+1) \left(2^{n}+k\right)^{2^{n}+k} \equiv \left(2^{n}+k\right)^{k} \equiv \sum_{s=0}^{k}\binom{k}{s} \cdot 2^{n s} \cdot k^{k-s} \equiv 2^{n} \cdot k^{k}+k^{k} \equiv 2^{n}+k^{k} \quad\left(\bmod 2^{n+1}\right)

In other words,
B≡{11+2n,33+2n,55+2n,…,(2n−1)2n−1+2n} ( mod  2n+1) B \equiv \left\{1^{1}+2^{n}, 3^{3}+2^{n}, 5^{5}+2^{n}, \ldots,\left(2^{n}-1\right)^{2^{n}-1}+2^{n}\right\}\ (\bmod\ 2^{n+1})

Now, by the inductive hypothesis, the elements in AA are distinct ( mod  2n)(\bmod\ 2^{n}) and so are the elements in BB. Finally, since the elements in B ( mod  2n+1)B\ (\bmod\ 2^{n+1}) are simply obtained by adding 2n2^{n} to the elements in AA, the 2n2^{n} numbers give different remainders ( mod  2n+1)(\bmod\ 2^{n+1}), concluding the inductive step.

Hence, the initial statement is true for all n∈Nn \in \mathbb{N}.

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