Problem

Source: Chinese Girls Mathematical Olympiad 2023

Tags: number theory



Let $p$ be an odd prime. Suppose that positive integers $a,b,m,r$ satisfy $p\nmid ab$ and $ab > m^2$. Prove that there exists at most one pair of coprime positive integers $(x,y)$ such that $ax^2+by^2=mp^r$.