TITLE: Sum of digits of $11\dots 11^2$ where $11\dots 11$ is a 1992 digit number with all digits $1$
QUESTION [10 upvotes]: I read this on a non-math forum where the OP says this is a question for Grade 6 elementary school students. Grade 6 elementary school level is somehow ambiguous but clearly this means no advanced math tool can be used. (Maybe some elementary modulo arithmetic is allowed?)
I tried in the most dumb way:
Since we know that $11\dots 1^2$ of $n\leq 9$ digits of $1$'s is $123\dots n \dots 321$ because $11\dots 1^2 = 11\dots 1 \times \sum^{n-1}_{m=0}10^m$ (which explains why the answer is $1$ goes to $n$ then goes back to $1$). So we can say $11\dots 11^2$ is to add up (digit number) of $1$, put it on that digit, and sum them up. Then we apply on $n>9$ and observe the process.
This seems promising or at least manageable. You count the number of $1$'s that are involved in computing number on the digit, and add carries from lower digits. For example, on the 102nd digits this will be $102+11+1=114$, so the carry is $11$, number of 102nd digit is $4$. Finally sum all digits up.
The work involved seems way too immense and is not beautiful. Anyone has some clever ideas about this question?
(The result is $17910$ and the original post is in Chinese, so I don't want to put the link here)

REPLY [5 votes]: I think my method is essentially equivalent to Archaick's, but it might make it more clear how you can count without it being brute force per se.  Note that the number we are squaring is $\frac{10^{1992}-1}{9}$, so we are counting the digits of 
$$
\left(\frac{10^{1992}-1}{9}\right)^2
= \frac{1}{81}(10^{3984} - 2\cdot 10^{1992} +1)
$$
To write this out as an integer, note that 
$$
\frac{1}{81} = \frac{12,345,679}{999,999,999} \quad \text{ and thus} \quad
\frac{2}{81} = \frac{24,691,358}{999,999,999}
$$
This tells us the repeating 9-digit patterns in $\frac{10^{3984} }{81}$ and $\frac{2\cdot 10^{1992}}{81}$.  To take the difference, note that the two leading terms are $1$'s in the $10^{3982}$ place and  in the $10^{1990}$ place, respectively.  The first subtraction then occurs at the latter digit, which corresponds to the digit $4$ in the expansion of $\frac{10^{3984} }{81}$, as $3982-3 = 3980 \equiv 1990 \mod 9$. The difference therefore has the repeating pattern unchanged from digits in the $10^{1991}$ place to the $10^{3982}$ place, and for lesser digits, the repeating pattern is now
$$
456,790,123-246,913,580 =  209,876,543
$$
This pattern repeats indefinitely, until the decimal point, at which point we add $1/81$ with the effect of rounding $...320.\overline{976543210}$ up to $...321$.
Note that there are $221$ nine-digit sequences in each pattern, in addition to the leading three digits and the trailing two digits.  The sum of the digits is then $1+2+3+221(44) + 221(37) + 2 + 1 = 9 + 221\cdot 81 = 17910$.