In the above equation, each of the letters and represents a different one of the digits 0, 1, 2, ..., 9.
Note that and cannot be 0.
Let and be the maximum and minimum values respectively. Find the value of .
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.
Let p = A B , q = C D , r = E F G and s = H I J .
Note that p + q + r + s ≡ 0 + 1 + 2 + … + 9 ≡ 0 ( m o d 9 ) and hence ( p + q + r ) + s = s + s = 2 s ≡ 0 ( m o d 9 ) , which implies that s ≡ 0 ( m o d 9 ) .
We claim that M = 9 6 3 and N = 2 3 4 and hence M − N = 7 2 9 . The following shows some possible arrangements.
+ 8 9 4 5 7 6 0 1 2 3 + 1 2 5 6 0 3 7 8 9 4
Next we show that M = 9 8 1 , M = 9 7 2 .
Suppose M = 9 8 1 . Then r < 7 7 0 and p + q < ( 7 0 + 7 0 ) which means that p + q + r < 9 1 0 < s , a contradiction.
Suppose M = 9 7 2 . Then r + p + q < 8 6 5 + 5 5 + 4 5 = 9 6 5 < s , a contradiction.
For N , it is clear that N > 2 0 0 . We will show that N = 2 0 7 and N = 2 1 6 .
Suppose N = 2 0 7 . Then r + p + q > 1 3 1 + 4 1 + 5 1 = 2 2 3 > s , a contradiction.
Suppose N = 2 1 6 . Then r > 3 0 0 > s , a contradiction.
p/s: A related video .