Given that and are positive integers that satisfy , find the last 3 digits of the sum of all possible products
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.
Clearly a = 5 , b = 5 is a solution. Now, to see if there are other solutions, we first note that the solutions for a must be > 5 . Then the unit's digit of a ! + 5 must be 5 which implies that the unit's digit of b also must be 5 . Now, the 1 0 's digit of any number of the form x 3 where x is an integer with 5 as its unit's digit, is ∈ { 2 , 7 } . Since the 1 0 's digit of x ! for any x ≥ 1 0 is always 0 , this implies that the other possible solutions for a must ∈ { 6 , 7 , 8 , 9 } . Now an easy check reveals that there is no other solution for a and hence the only possible solution is a = 5 , b = 5 .