Prove that for all positive integers $n$, there exists a positive integer $m$ which is a multiple of $n$ and the sum of the digits of $m$ is equal to $n$.
Problem
Source: Pan African Olympiad 2008
Tags: number theory proposed, number theory
02.10.2011 16:43
There are $n$'s numbers among $\left\{ {1,10,{{10}^2},{{10}^3},...} \right\}$ congruent modulo $n$; we can take $m$ to be the sum of them.
02.09.2017 09:52
Can anyone explain the above solution more elaborated
18.09.2017 12:15
any ideas Mathlinkers
18.09.2017 17:00
yunxiu wrote: There are $n$'s numbers among $\left\{ {1,10,{{10}^2},{{10}^3},...} \right\}$ congruent modulo $n$; we can take $m$ to be the sum of them. i didn't really get what you said..........doesn't make much sense to me..........maybe im wrong
18.09.2017 20:23
You can always find such $x_1<x_2<...<x_n$ that $10^{x_1} \equiv 10^{x_2} \equiv ... \equiv 10^{x_n}=t \pmod {n}$ for some $t$ So you can build $m=10^{x_1}+...+10^{x_n}$ $m$ consists of $n$ ones and some zeroes and $m \equiv nt \equiv 0 \pmod n$