Given a number of the form $0.xyzxyzxyz$, where $x,y,z$ are distinct integers taking on values $\in \{0,1,2, \ldots, 9\}$, what is the sum, $S$, of all such numbers of the form $0.xyzxyzxyz$?
Here is how I solved this problem. For each $x$, there are 72 corresponding $xyzxyzxyz$ values. So each integer for $x$ will occur 72 times and similarly for $y$ and $z$. $72 * \sum_{i=0}^9 i = 3240$.
So the summation ends up looking something like $$ 324.000000000 + 32.400000000 + 3.240000000 + \ldots + 0.000003240 \\ \approx 360 $$
The answer that was given said it is $0.111111111 * 72 * \sum_{i=0}^9 i$. Where did the $0.111111111$ come from? This approach is simpler than mine, but I just don't know where this decimal came from.
So it appears that the approach is very similar to mine, but they approached it from the form $0.1 * 3240 + 0.01 * 3240 + 0.001 * 3240 + \ldots = 0.000000001 * 3240 = (0.1 + 0.01 + \ldots + 0.000000001) * 3240 = 0.111111111 * 3240$