Find all positive integers nnn for which the equation (x2+y2)n=(xy)2016(x^2 + y^2)^n = (xy)^{2016}(x2+y2)n=(xy)2016 has positive integer solutions.