# Count the ordered triplets

$x^2+y^2-z^2=1997$

Find number of ordered triplets $$(x,y,z)$$ of integers $$x$$,$$y$$,$$z$$ satisfying the above equation.

$$\bullet$$ Enter 777 as your answer if the answer is infinite.

×