Problem

Source: CGMO 2024 P6

Tags: number theory



Let $n,m,r$ be positive integers such that $n>m$ and both $n^2+r, m^2+r$ are powers of $2$. Show that $n>\frac{2m^2}{r}$.