Maths Olympiad Prep

Library / Switzerland competition problems /3 of 4

Switzerland competition problems

Number theory Difficulty 6.4 National Olympiad Prove it Switzerland

Problem:
Let φ\varphi denote the Euler phi-function. Prove that for every positive integer nn
2n(n+1)∣32⋅φ(22n−1) 2^{n(n+1)} \mid 32 \cdot \varphi\left(2^{2^{n}}-1\right)

Solution

Solution:
We induct on nn. The cases n=1,2,3n=1,2,3 can easily be checked by hand:
- n=1:22∣32⋅2n=1: 2^{2} \mid 32 \cdot 2.
- n=2:26∣25⋅φ(15)=25⋅2⋅23n=2: 2^{6} \mid 2^{5} \cdot \varphi(15)=2^{5} \cdot 2 \cdot 2^{3}
- n=3:212∣25⋅φ(255)=25⋅2⋅22⋅24=212n=3: 2^{12} \mid 2^{5} \cdot \varphi(255)=2^{5} \cdot 2 \cdot 2^{2} \cdot 2^{4}=2^{12}

For n≥4n \geq 4 assume the statement is true for all 1≤k<n1 \leq k < n and note that
φ(22n−1)=φ((22n−1−1)(22n−1+1))=φ(22n−1−1)⋅φ(22n−1+1) \varphi\left(2^{2^{n}}-1\right)=\varphi\left(\left(2^{2^{n-1}}-1\right)\left(2^{2^{n-1}}+1\right)\right)=\varphi\left(2^{2^{n-1}}-1\right) \cdot \varphi\left(2^{2^{n-1}}+1\right)
since gcd⁡(22n−1−1,22n−1+1)=1\gcd\left(2^{2^{n-1}}-1,2^{2^{n-1}}+1\right)=1. But from our inductive assumption we know that
2(n−1)n∣32⋅φ(22n−1−1) 2^{(n-1) n} \mid 32 \cdot \varphi\left(2^{2^{n-1}}-1\right)
so all that is left to prove is that
22n∣φ(22n−1+1) 2^{2 n} \mid \varphi\left(2^{2^{n-1}}+1\right)
Take now any prime pp that divides 22n−1+12^{2^{n-1}}+1 and let dd be the order of 2 mod p2 \bmod p. We know that
22n−1≡−1 mod p, squaring gives 22n≡1 mod p 2^{2^{n-1}} \equiv -1 \bmod p, \text{ squaring gives } 2^{2^{n}} \equiv 1 \bmod p
By the properties of the order we therefore have
d∣2n but d∤2n−1 d \mid 2^{n} \text{ but } d \nmid 2^{n-1}
This implies d=2nd=2^{n} and since we also have d∣p−1d \mid p-1 we get
2n∣p−1 and therefore p≡1 mod 2n 2^{n} \mid p-1 \text{ and therefore } p \equiv 1 \bmod 2^{n}
If we are also able to prove that 22n−1+12^{2^{n-1}}+1 contains at least two different prime factors we would be done. This is because if p,qp, q are two different such primes we can write
22n−1+1=px⋅qy⋅N 2^{2^{n-1}}+1=p^{x} \cdot q^{y} \cdot N
with NN a positive integer and p,q∤Np, q \nmid N. Then
φ(22n−1+1)=(p−1)(q−1)⋅px−1qy−1φ(N)≡0 mod 22n \varphi\left(2^{2^{n-1}}+1\right)=(p-1)(q-1) \cdot p^{x-1} q^{y-1} \varphi(N) \equiv 0 \bmod 2^{2 n}
Assume now that 22n−1+12^{2^{n-1}}+1 is instead a prime power, say pxp^{x}. It follows that
(p−1)(px−1+px−2+…+p+1)=px−1=22n−1 (p-1)\left(p^{x-1}+p^{x-2}+\ldots+p+1\right)=p^{x}-1=2^{2^{n-1}}
It follows that xx is odd since squares are ≡0\equiv 0 or 1 mod 41 \bmod 4 and using the fact that p≡1 mod 2np \equiv 1 \bmod 2^{n} we find
px−1+px−2+…+p+1≡x mod 2n p^{x-1}+p^{x-2}+\ldots+p+1 \equiv x \bmod 2^{n}
implying x=1x=1. But then 22n−1+12^{2^{n-1}}+1 is a prime and
φ(22n−1+1)=22n−1 \varphi\left(2^{2^{n-1}}+1\right)=2^{2^{n-1}}
and since n≥4n \geq 4 we have 2n−1≥2n2^{n-1} \geq 2 n and we are done in this case as well.

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.