Olympiad Maths Prep

Track / Stage 6 / 319 of 400 #1319 of 2000

Problem 1319

National olympiad, first round
Number theory Difficulty 6.6 Prove it

Suppose that for some m,nNm,n\in\mathbb{N} we have φ(5m1)=5n1\varphi (5^m-1)=5^n-1, where φ\varphi denotes the Euler function. Show that (m,n)>1(m,n)>1.

This one wants a proof. Work it on paper, read the official solution, then mark yourself honestly — the ladder only means something if the record is true.

Official solution

1. Assume for contradiction: Suppose that gcd(m,n)=1\gcd(m, n) = 1. Then, by properties of the Euler's totient function φ\varphi, we have:
gcd(5m1,5n1)=5gcd(m,n)1=511=4 \gcd(5^m - 1, 5^n - 1) = 5^{\gcd(m, n)} - 1 = 5^1 - 1 = 4

2. Claim: φ(5m1)\varphi(5^m - 1) is square-free.
- Proof: Suppose there exists an odd prime pp such that p25m1p^2 \mid 5^m - 1. Then pφ(5m1)=5n1p \mid \varphi(5^m - 1) = 5^n - 1. Consequently, pgcd(5m1,5n1)=4p \mid \gcd(5^m - 1, 5^n - 1) = 4, which is a contradiction since pp is an odd prime. Hence, φ(5m1)\varphi(5^m - 1) is square-free.

3. Factorization: We can write:
5m1=2αp1p2pk 5^m - 1 = 2^\alpha p_1 p_2 \dots p_k
5n1=2α1(p11)(p21)(pk1) 5^n - 1 = 2^{\alpha - 1} (p_1 - 1)(p_2 - 1) \dots (p_k - 1)

4. Claim: α=2\alpha = 2.
- Proof: Since gcd(5m1,5n1)=4\gcd(5^m - 1, 5^n - 1) = 4, it follows that α=2\alpha = 2. Therefore, we have:
5m1=4p1p2pk 5^m - 1 = 4 p_1 p_2 \dots p_k
5n1=2(p11)(p21)(pk1) 5^n - 1 = 2 (p_1 - 1)(p_2 - 1) \dots (p_k - 1)

5. **Parity of nn**: If nn were even, then:
5n1(3)n1(1)n10(mod4) 5^n - 1 \equiv (-3)^n - 1 \equiv (-1)^n - 1 \equiv 0 \pmod{4}
This is a contradiction, so nn must be odd.

6. Claim: pi1(mod5)p_i \equiv -1 \pmod{5}.
- Proof: Since 5n1(modpi)5^n \equiv 1 \pmod{p_i}, by the quadratic reciprocity law, pip_i is a quadratic residue modulo 5. Thus, pi±1(mod5)p_i \equiv \pm 1 \pmod{5}. If pi1(mod5)p_i \equiv 1 \pmod{5}, then:
5n1110(mod5) 5^n - 1 \equiv 1 - 1 \equiv 0 \pmod{5}
This is a contradiction. Therefore, pi1(mod5)p_i \equiv -1 \pmod{5}.

7. Contradiction: Given pi1(mod5)p_i \equiv -1 \pmod{5}, we have:
45m14p1p2pk4k+1(mod5) 4 \equiv 5^m - 1 \equiv 4 p_1 p_2 \dots p_k \equiv 4^{k + 1} \pmod{5}
This forces kk to be even. However:
45n12(p11)(p21)(pk1)23k2(1)k2(mod5) 4 \equiv 5^n - 1 \equiv 2 (p_1 - 1)(p_2 - 1) \dots (p_k - 1) \equiv 2 \cdot 3^k \equiv 2 \cdot (-1)^{\frac{k}{2}} \pmod{5}
This is a contradiction. Therefore, our initial assumption that gcd(m,n)=1\gcd(m, n) = 1 must be false.

\blacksquare

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.