# How to find out the last pair

Number Theory Level 5

Determine all pairs $$(x, y)$$ of non-negative integers such that $$x^{y^2}=y^x$$.

Find the sum of all values of $$x$$ and $$y$$.

×