第 559 题:(2015 AIME II, 3)
Let $m$ be the least positive integer divisible by $17$ whose digits sum to $17$. Find $m$.
- A number is congruent to its digit sum modulo $9$, so $m\equiv17\equiv8\pmod9$. Writing $m=17k$ and using $17\equiv-1\pmod9$, we get $-k\equiv8$, i.e.\ $k\equiv1\pmod9$.
- So $m=17(9j+1)=153j+17$: the candidates are $17,170,323,476,\dots$ with digit sums $8,8,8,17$.
- The least is $m=476=17\cdot28$. The answer is $\boxed{476}$.
Let $m$ be the least positive integer divisible by $19$ whose digits sum to $19$. Find $m$.