Problem

Source:

Tags: modular arithmetic, number theory, relatively prime, Diophantine Equations



Find a pair of relatively prime four digit natural numbers $A$ and $B$ such that for all natural numbers $m$ and $n$, $\vert A^m -B^n \vert \ge 400$.