Professor proposed this problem to the class today.
Suppose we had $P_1(x), P_2(x) \in \mathbb{Z[x]}$, $n, a \in \mathbb{Z}$.
How many ordered pairs exist such that $(P_1(x))^2+(P_2(x))^2=(x^n-a)^2$?
Of course, there exist trivial pairs, such as $(x^n-a,0)$, but I'm not sure where to go from here.