The equation x2+y2=4n(8k+7)x^2 + y^2 = 4^n(8k + 7)x2+y2=4n(8k+7) has no integer solutions. This is a consequence of:
Fermat's Last Theorem
Sum of Two Squares Theorem
Pell's Equation theory
Euclidean Algorithm