Let be the least positive integer divisible by 17 whose digits sum to 17. Find
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.
We know that the answer is less than 1 0 0 0 due to constraints on the A I M E , and so we can say that 1 0 0 a + 1 0 b + c = 1 7 k for some integers a , b , c , k . We also know that a + b + c = 1 7 and a , b , c ≤ 9 .
We can then substitute 1 7 − a − b for c and get 1 0 0 a + 1 0 b + 1 7 − a − b = 1 7 k .
Working in m o d 1 7 we get that 9 9 a + 9 b = 1 7 k 9 b − 3 a = 1 7 k 3 ( 3 b − a ) = 1 7 k
We now know that k is a multiple of 3 , so let k = 3 p
3 b − a = 1 7 p
For p = 1 , we get:
a = 1 , b = 6 , c = 1 0 a = 4 , b = 7 , c = 6
We can reject the first one since c ≤ 9
If p ≥ 2 , then b ≥ 1 0 , so 4 7 6 is our smallest possibility