Solving for the value :
Step 1: Finding the locus of
Let the point has coordinates .
The point have the sum of the squares of the distances from the planes , and , equal to .
So the locus is,
Step 2: Expressing the above locus in the form of
It is given that the locus of the point is .
So, equating the two equations
Step 3: Equating the given locus and calculated locus
Comparing equation this with , we get
and
Step 4: Subtracting equation
Here, cannot be zero as both are natural numbers.
Hence,
Therefore, the value of is equal to .