Question 57Let $S(n)$ be the sum of all digits in the decimal representation of $n \in \mathbb{N}$. How many numbers $n$, $1 \le n \le 999$, satisfy the following condition $S(n) = \text{GCD}(n, n+6)$?