Let $\mathcal{S}$ be the set of real numbers that can be represented as repeating decimals of the form $0.\overline{abc}$ where $a, b, c$ are distinct digits. Find the sum of the elements of $\mathcal{S}.$
There are $10\cdot9\cdot8=720$ numbers $\frac{\overline{abc}}{999}$ with distinct digits, and by symmetry each digit appears $72$ times in each position.
So the sum of the $\overline{abc}$ is $72\cdot45\cdot111$, and the sum of the elements is $\frac{72\cdot45\cdot111}{999}=\frac{72\cdot45}9=360$.
Let $\mathcal{S}$ be the set of real numbers that can be represented as repeating decimals of the form $0.\overline{abc}$ where $a, b, c$ are distinct nonzero digits. Find the sum of the elements of $\mathcal{S}.$