Maths Olympiad Prep

Library / Austrian Mathematical Olympiad /1 of 54

Austrian Mathematical Olympiad

Number theory Difficulty 4.7 AIME Prove it Austria

Let pp be a prime and let mm and nn be positive integers such that p2+m2=n2p^2 + m^2 = n^2.
Prove that m>pm > p.

Solution

We have p2=n2−m2=(n−m)(n+m)p^2 = n^2 - m^2 = (n - m)(n + m). Since pp is a prime, the number p2p^2 has the divisors 11, pp and p2p^2. Since the two factors n−mn - m and n+mn + m are distinct, they cannot be both equal to pp. Furthermore, n−mn - m is smaller than n+mn + m, therefore, n−m=1n - m = 1, i.e. n=m+1n = m + 1.

We find
p2+m2=(m+1)2  ⟺  p2=2m+1. p^2 + m^2 = (m + 1)^2 \iff p^2 = 2m + 1.

This immediately implies that pp is odd, therefore p≥3p \ge 3. We find 2m+1=p2≥3p>2p+12m+1 = p^2 \ge 3p > 2p+1,
which gives m>pm > p as desired.

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.