Y by Adventure10, Mango247, and 1 other user
The world-renowned Marxist theorist Joric is obsessed with both mathematics and social egalitarianism. Therefore, for any decimal representation of a positive integer
, he tries to partition its digits into two groups, such that the difference between the sums of the digits in each group be as small as possible. Joric calls this difference the defect of the number
. Determine the average value of the defect (over all positive integers), that is, if we denote by
the defect of
, compute ![\[\lim_{n \rightarrow \infty}\frac{\sum_{k = 1}^{n}\delta(k)}{n}.\]](//latex.artofproblemsolving.com/9/c/d/9cd20eafc27fbf4942c9739b281a4c01d17de957.png)
Iurie Boreico




![\[\lim_{n \rightarrow \infty}\frac{\sum_{k = 1}^{n}\delta(k)}{n}.\]](http://latex.artofproblemsolving.com/9/c/d/9cd20eafc27fbf4942c9739b281a4c01d17de957.png)
Iurie Boreico