Skip to main content

2015 AIME II Problem 3

Problem 3 of 15EasierNumber TheoryProblem-Solving Techniques

Let mm be the least positive integer divisible by 1717 whose digits sum to 17.17. Find m.m.

Your answer

Integer from 0 to 999
Show solution

Solution

Every number is congruent to its digit sum modulo 9,9, so m=17nm = 17n must satisfy 17n≡17(mod9),17n \equiv 17 \pmod 9, that is 8n≡8(mod9),8n \equiv 8 \pmod 9, which gives n≡1(mod9).n \equiv 1 \pmod 9. Checking the candidates in increasing order: n=1,n = 1, n=10,n = 10, and n=19n = 19 give 17,17, 170,170, and 323,323, with digit sums 88 each, but n=28n = 28 gives 17⋅28=47617 \cdot 28 = 476 with digit sum 4+7+6=17.4 + 7 + 6 = 17. So m=476.m = 476.
AoPS wiki

Tagged: digits · modular arithmetic · systematic listing

More practice