1 7 × 6 4 = 1 0 8 8 , c 1 7 = 1 + 0 + 8 + 8 1 7 × 8 2 = 1 3 9 4 , c 1 7 = 1 + 3 + 9 + 4 1 7 × 9 1 = 1 5 4 7 , c 1 7 = 1 + 5 + 4 + 7 Mr. Seventeen writes some of the above four digit number that are multiples of 17 whose sum of the digits is equal to 17.
If he writes the largest four digit multiple of 17 as 1 7 × N = a b c d satisfying property above. Then find the value of N + a b c d .
This problem is original.
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.
Divisibility rule of 17
Subtract 5 times the last of digit from the remaining truncated number. If the result is divisible by 17 then the original number is also divisible by 17.
Call n = a b c d the largest four digit number. As per the divisibility test of 1 7 . We have new number m = a b c − 5 d = 1 0 2 a + 1 0 b + c − 5 d . Assume number is divisible by 1 7 . Then we get 1 7 m = 1 0 2 a + 1 0 b + c − 5 d = 9 9 a + 9 b − 6 d + ( a + b + c + d ) 17 1 7 ( m − 1 ) = 3 ( 3 3 a + 3 b − 2 d ) ⟹ 1 7 ( 3 m − 1 ) = 3 3 a + 3 b − 2 d Further simplifying we see b = 3 1 [ 1 7 ( 3 m − 1 ) − 3 3 a + 2 d ] < 3 0 , m > 4 For the largest value of a b c d we want to maximize the value of a = 9 , . Also we notice that 0 ≤ b ≤ 8 and 2 8 1 ≤ 1 7 ( 3 m − 1 ) ≤ 3 0 5 ⟹ 5 0 ≤ m ≤ 5 4 or 2 9 7 ≤ 1 7 ( 3 m − 1 ) ≤ 3 2 1 ⟹ 5 3 ≤ m ≤ 5 7 Hence, we have 5 0 ≤ m ≤ 5 7 , the largest possible for m is 5 5 such that b ∈ N ≤ 8 .
Plugging back to equation above b = 3 3 0 6 − 2 9 7 + 2 d = 3 9 + 2 d ⟹ d = 0 , 3 , 6 which solves for b = 5 , 5 , 7 and largest 4 digits number we have are a b c d = 9 5 3 0 , 9 5 0 3 , 9 7 c 6 (rejected).
Therefore, the largest possible value of a b c d = 9 5 0 3 which is equal to 1 7 × 5 5 9 . Final result of N + a b c d = 1 0 0 6 2 .
Problem Loading...
Note Loading...
Set Loading...
A number and its digit sum are always congruent mod 9 ; since 1 7 and 9 are relatively prime, it follows that N ≡ 1 ( m o d 9 ) .
The largest 4-digit number whose digit sum is 1 7 is 9 8 0 0 , so N ≤ ⌊ 1 7 9 8 0 0 ⌋ = 5 7 6 . Since N ≡ 1 ( m o d 9 ) , it follows that N ∈ { 5 6 8 , 5 5 9 , 5 5 0 , . . . . } . We try
5 6 8 × 1 7 = 9 6 5 6 but 9 + 6 + 5 + 6 = 2 6
5 5 9 × 1 7 = 9 5 0 3 and 9 + 5 + 0 + 3 = 1 7
so the required N is 5 5 9 and our answer is 5 5 9 + 9 5 0 3 = 1 0 0 6 2