Maths Olympiad Prep

Library / /35 of 69

Number theory Difficulty 6.0 AIME, harder Prove it Mongolia

Find all pair of natural numbers (n,m)(n, m) such that 2φ(n)+1m2^{\varphi(n)} + 1 \mid m and 2φ(m)+1n2^{\varphi(m)} + 1 \mid n, where φ(n)\varphi(n) is Euler's function.

Solution

Let n,m>1n, m > 1. φ(m)=2m0m1\varphi(m) = 2^{m_0} \cdot m_1, φ(n)=2n0n1\varphi(n) = 2^{n_0} \cdot n_1 (m0,n00m_0, n_0 \ge 0, m1,n1m_1, n_1-odd natural numbers.) Assume that m0n0m_0 \ge n_0 and let nn be the least number such that n2k1n \mid 2^k - 1.
Set k=2k0k1k = 2^{k_0} \cdot k_1, where (k0k_0 is nonnegative whole number, k1k_1 is odd natural number). Since nn is divisor of odd number, nn is odd too.
Now by Euler's theorem n2φ(n)1n \mid 2^{\varphi(n)} - 1 and kφ(n)k0n0k \mid \varphi(n) \Rightarrow k_0 \neq n_0. (1)
Combining it with given condition we get n(2φ(m)1)(2φ(m)+1)=22φ(m)1n \mid (2^{\varphi(m)} - 1)(2^{\varphi(m)} + 1) = 2^{2\varphi(m)} - 1 and k2φ(m)k \mid 2\varphi(m). Since n2φ(m)1n \nmid 2^{\varphi(m)} - 1, from where follows kφ(m)k \nmid \varphi(m).
From k2φ(m)k \mid 2\varphi(m) and kφ(m)k \nmid \varphi(m) it follows k0=m0+1k_0 = m_0 + 1. By (1) we get
n0m0+1n_0 \ge m_0 + 1 but it contradicts to m0n0m_0 \le n_0.
Since the case that n0>m0n_0 > m_0 leads also to contradiction, we conclude that
m=1m = 1 or n=1n = 1.

If m=1m=1 then n3n=3n \mid 3 \Rightarrow n=3 or n=1n=1.
Consequently we get 3 solutions: (m,n)=(1,1),(1,3),(3,1)(m, n) = (1, 1), (1, 3), (3, 1).
If n=1n=1 then (m,n)=(3,1),(1,1)(m, n) = (3, 1), (1, 1). Finally, we conclude that there are
only 3 solutions (m,n)=(1,1),(1,3),(3,1)(m, n) = (1, 1), (1, 3), (3, 1).

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.