Number theoryDifficulty 6.0Find the answerBMO Round 2 · United Kingdom · 2026
For any two positive integers m and n, we define l(m,n) as their least common multiple and h(m,n) as their highest common factor. Given a prime p>3, let k denote the number of ordered pairs of positive integers (m,n) satisfying the equation l(m,n)+h(m,n)=p4. Determine the smallest possible value of k across all choices of the prime p>3.
The source for this one didn't record the answer, so there is nothing to check what you type against. Work it on paper and mark yourself against the solution below.