Problem

Source:

Tags: greatest common divisor, Diophantine Equations



Find all pairs $(a,b)$ of positive integers that satisfy the equation \[a^{b^{2}}= b^{a}.\]