Finn Hulse is doodling in his notebook, and decides to coin a new term.
A three-digit number , where are digits, is said to be a Finn-umber if it follows the following conditions:
is divisible by some natural number , and is divisible by
as a three digit number must not be divisble by
Finn took two random Finn-umbers, , and subtracted them, and found that the result itself was another Finn-umber, say .
Now, find the sum of the maximum values of and , which would give the least possible 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.
First, we have to find the smallest Finnumber. First, consider a b = 1 0 . Here, the value of n can be either 1 , 2 , 5 , or 1 0 , as n must divide a b . However, it must be noted that n can never be 1 , as n would always divide a b c . Also, n cannot be 2 , 4 , as b c would be divisible by 2 or 4 , then so would a b c . Also, n cannot be equal to 5 because c would have to be either 5 or 0 , and then a b c would be divisible by n . In this case, if n = 1 0 , then b c must be 0 0 . But, 1 0 divides 1 0 0 . Thus, there are no Finnumbers from 1 0 0 − 1 0 9 .
Now, if a b = 1 1 , then n = 1 1 . Thus, b c must be 1 1 , and a b c = 1 1 1 , which is not divisible by 1 1 . Thus, the smallest Finnumber is 1 1 1 . Thus, to minimize z , z = 1 1 1 . Now to maximize x , we must check if x can be the largest Finnumber. Now, the largest three-digit number is 9 9 9 , which is a Finnumber, with n = 9 9 . Now, if x = 9 9 9 , then y must be 8 8 8 . After checking it is found that 8 8 8 is actually a Finnumber, with n = 8 8 . Now, that the maximums of x , y are obtained, x + y = 9 9 9 + 8 8 8 = 1 8 8 7