Question 826
Let $n$ be a 5-digit number, and let $q$ and $r$ be the quotient and remainder, respectively, when $n$ is divided by 100. For how many values of $n$ is $q + r$ divisible by 11?
Xem đáp án và lời giải
Đáp án: $8181$
Since $n = 100q + r$ and $100 \equiv 1 \pmod{11}$, we have \[ n = 100q + r \equiv q + r \pmod{11}. \] Thus $q + r$ is divisible by 11 if and only if $n$ is divisible by 11. The 5-digit numbers are the integers $n$ such that \[ 10{,}000 \leqslant n \leqslant 99{,}999. \] The total number of 5-digit numbers is $99{,}999 - 10{,}000 + 1 = 90{,}000$. The smallest 5-digit multiple of 11 is \[ \lceil 10{,}000 / 11 \rceil \times 11 = 910 \times 11 = 10{,}010. \] The largest 5-digit multiple of 11 is \[ \lfloor 99{,}999 / 11 \rfloor \times 11 = 9090 \times 11 = 99{,}990. \] The number of such multiples is \[ 9090 - 910 + 1 = 8181. \]