Assuming that the following equation has answers over for as a prime number,how many different values can have?
By the way my own choice of difficulty was "Level 4" but well since it's locked, the question remains "Level 3" for the time being.
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.
Solution : y ( z 2 − x 2 ) + x ( y 2 − z 2 ) + z ( x 2 − y 2 ) = p
Hence, y z 2 + z x 2 + x y 2 − x z 2 − z y 2 − y x 2 = p
Adding and subtracting x y z we get:
x y z − x z 2 − z y 2 + y z 2 − y x 2 + z x 2 + x y 2 − x y z = p
So, ( z − x ) ( x y − x z − y 2 + y z ) = p
and thus, ( z − x ) ( y − z ) ( x − y ) = p
Now pay attention that y − x can be achieved through adding y − z and z − x .And since p is a prime number and x , y , z ∈ z we can deduce the following:
y − z can have 4 different values at most: ( p ) , ( 1 ) , ( − 1 ) , ( − p )
Same as the first deduction, z − x can also have at most 4 values same as above.
Hence, there are 4 cases for y − z and similarly 4 cases for z − x .We investigate the cases for y − z and divide them into 2 cases each containing 2 sub-cases.
⇒ z − x = − 1 ∨ 1 ∨ p ∨ − p
⇒ y − z = 0 ∨ 2 ∨ p + 1 ∨ − p + 1 ∨ − 2 ∨ p − 1 ∨ − p − 1 an extra 0 is omitted
⇒ z − x = − 1 ∨ 1 (why?)
⇒ y − z = p − 1 ∨ p + 1 ∨ − p − 1 ∨ − p + 1
Note that the solutions found within the investigation of case no.2 are in advance counted in case no.1 solutions and thus they won't add any thing to the solutions from case no.1.
And the answer -as can be seen in case no.1- is 7.
Have fun!
Please correct me wherever I went wrong and leave feel free to express your opinions.