Problem

Source: 2018 Belarusian National Olympiad 11.3

Tags: number theory, national olympiad



For all pairs $(m, n)$ of positive integers that have the same number $k$ of divisors we define the operation $\circ$. Write all their divisors in an ascending order: $1=m_1<\ldots<m_k=m$, $1=n_1<\ldots<n_k=n$ and set $$ m\circ n= m_1\cdot n_1+\ldots+m_k\cdot n_k. $$Find all pairs of numbers $(m, n)$, $m\geqslant n$, such that $m\circ n=497$.