S = { ( 0 , 0 , 0 ) , ( n , 0 , 0 ) , … , ( n , n , n ) } is the set of coordinates of the vertices of a cube with side length n .
P is a plane such that the distances of the points in S to P are 0 , 1 , 2 , … , 7 (not necessarily in that order), and its Cartesian equation is a x + b y + c z = 0 , where a , b , c are positive integers that statisfy g cd ( a , b , c ) = 1 .
Find a + b + c + n 2 .
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.
I like this problem but I was a little disappointed to see my solution refused. Indeed I believe it to be correct.
Take ( a , b , c ) = ( 7 , − 1 , − 2 ) for example and n = a 2 + b 2 + c 2 = 5 4 . We still have the set of distances from the plan of equation 7 x − y − 2 z = 0 to each of the 8 vertices of the cube equal to { 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 } . Hence a + b + c + n 2 = 7 − 1 − 2 + 5 4 = 5 8 should be a valid solution.
Problem Loading...
Note Loading...
Set Loading...
Think of the coordinates of the vertices as binary numbers.
( 0 , 0 , 0 ) ⇒ 0 0 0 2 = 0 ( 0 , 0 , n ) ⇒ 0 0 1 2 = 1 ( 0 , n , 0 ) ⇒ 0 1 0 2 = 2 ( 0 , n , n ) ⇒ 0 1 1 2 = 3 ⋮ ( n , n , n ) ⇒ 1 1 1 2 = 7
And now we can easily determine the equation of the plane
2 2 x + 2 1 y + 2 0 z = 0 ⇒ 4 x + 2 y + z = 0
Because this is the way we turn binary numbers into denary numbers.
For example, 1 1 0 2 = 1 × 2 2 + 1 × 2 1 + 0 × 2 0 = 6
And by symmetry, There are five more solutions:
4 x + y + 2 z = 0 2 x + y + 4 z = 0 2 x + 4 y + z = 0 x + 2 y + 4 z = 0 x + 4 y + 2 z = 0
And now we find the side length of the cube n = a 2 + b 2 + c 2 = 1 + 4 + 1 6 = 2 1
Finally we have a + b + c + n 2 = 4 + 2 + 1 + 2 1 = 2 8
Note: the distance of a point ( x 0 , y 0 , z 0 ) to the plane a x + b y + c z = d is a 2 + b 2 + c 2 a x 0 + b y 0 + c z 0 − d