Count the ordered triplets

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

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

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


The answer is 777.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Kazem Sepehrinia
Jul 18, 2015

In general the equation x 2 + y 2 z 2 = w x^2+y^2-z^2=w has infinitely many solutions. Rewrite the equation as ( x z ) ( x + z ) = w y 2 (x-z)(x+z)=w-y^2 Now if w y 2 = a b w-y^2=ab then ( x , z ) = ( a + b 2 , a b 2 ) (x, z)=\left(\frac{a+b}{2}, \frac{a-b}{2}\right) will be a solution.

It's enough that a a and b b have same parity, for x x and z z being integers. Whatever the parity of w w is you can find infinitely many y y such that w y 2 w-y^2 can be written as product of two odd numbers ( 1 1 is allowed).

Ravi Dwivedi
Jul 17, 2015

x 2 + y 2 z 2 = 1997 x^2+y^2-z^2=1997 ( y z ) ( y + z ) = 1997 x 2 (y-z)(y+z)=1997-x^2 Let x = 2 t x=2t for any integer t t . We may set y z = 1 y-z=1 and y + z = 1997 4 t 2 y+z=1997-4t^2

Addition and subtraction yields 2 y = 1998 4 t 2 2y=1998-4t^2 and 2 z = 1996 4 t 2 2z=1996-4t^2 respectively.

Hence ( 2 t , 999 2 t 2 , 998 2 t 2 ) (2t,999-2t^2,998-2t^2) is a solution of x 2 + y 2 z 2 = 1997 x^2+y^2-z^2=1997 .

Since t t is an arbitrary integer, there are infintely many solutions.

So the answer is 777 \boxed{777}

Moderator note:

Simple standard approach of solving Diophantine equations by factoring.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...