### - Art Gallery -

The Kempner series is a modification of the harmonic series, formed by omitting all terms whose denominator expressed in base 10 contains the digit 9. That is, it is the sum

$${\sideset {}{'}\sum _{n=1}^{\infty }}{\frac {1}{n}}}$$

where the prime indicates that n takes only values whose decimal expansion has no nines. The series was first studied by A. J. Kempner in 1914. The series is counterintuitive because, unlike the harmonic series, it converges. Kempner showed the sum of this series is less than 80. Baillie showed that, rounded to 20 decimals, the actual sum is 22.92067661926415034816 (sequence A082838 in the OEIS).

Heuristically, this series converges because most large integers contain every digit. For example, a random 100-digit integer is very likely to contain at least one '9', causing it to be excluded from the above sum.

Schmelzer and Baillie found an efficient algorithm for the more general problem of any omitted string of digits. For example, the sum of 1/n where n has no instances of "42" is about 228.44630415923081325415. Another example: the sum of 1/n where n has no occurrence of the digit string "314159" is about 2302582.33386378260789202376. (All values are rounded in the last decimal place).

Convergence

Kempner's proof of convergence is repeated in many textbooks, for example Hardy and Wright:120 and Apostol.:212 We group the terms of the sum by the number of digits in the denominator. The number of n-digit positive integers that have no digit equal to '9' is 8 × 9n−1 because there are 8 choices (1 through 8) for the first digit, and 9 independent choices (0 through 8) for each of the other n−1 digits. Each of these numbers having no '9' is greater than or equal to 10n−1, so the reciprocal of each of these numbers is less than or equal to 101−n. Therefore, the contribution of this group to the sum of reciprocals is less than 8 × (9/10)n−1. Therefore the whole sum of reciprocals is at most

$$8\sum _{{n=1}}^{\infty }\left({\frac {9}{10}}\right)^{{n-1}}=80.$$

The same argument works for any omitted non-zero digit. The number of n-digit positive integers that have no '0' is 9n, so the sum of 1/n where n has no digit '0' is at most

$$9 \sum_{n=1}^\infty \left(\frac{9}{10}\right)^{n-1} = 90.$$

The series also converge if strings of k digits are omitted, for example if we omit all denominators that have a decimal substring of 42. This can be proved in almost the same way. First we observe that we can work with numbers in base 10k and omit all denominators that have the given string as a "digit". The analogous argument to the base 10 case shows that this series converges. Now switching back to base 10, we see that this series contains all denominators that omit the given string, as well as denominators that include it if it is not on a "k-digit" boundary. For example, if we are omitting 42, the base-100 series would omit 4217 and 1742, but not 1427, so it is larger than the series that omits all 42s.

Farhi considered generalized Kempner series, namely, the sums S(d, n) of the reciprocals of the positive integers that have exactly n instances of the digit d where 0 ≤ d ≤ 9 (so that the original Kempner series is S(9, 0)). He showed that for each d the sequence of values S(d, n) for n ≥ 1 is decreasing and converges to 10 ln 10. The sequence is not in general decreasing starting with n = 0; for example, for the original Kempner series we have S(9, 0) ≈ 22.921 < 23.026 ≈ 10 ln 10 < S(9, n) for n ≥ 1.
Approximation methods

The series converges extremely slowly. Baillie remarks that after summing 1024 terms the remainder is still larger than 1.

The upper bound of 80 is very crude, and Irwin showed by a slightly finer analysis of the bounds that the value of the Kempner series is near 23, since refined to the value above, 22.92067...

Baillie developed a recursion that expresses the contribution from each (k + 1)-digit block in terms of the contributions of the k-digit blocks for all choices of omitted digit. This permits a very accurate estimate with a small amount of computation.
Name of this series

Most authors do not name this series. The name "Kempner series" is used in MathWorld and in Havil's book Gamma on the Euler–Mascheroni constant.:31–33

Small set
List of sums of reciprocals

Notes

Kempner, A. J. (February 1914). "A Curious Convergent Series". American Mathematical Monthly. Washington, DC: Mathematical Association of America. 21 (2): 48–50. doi:10.2307/2972074. ISSN 0002-9890. JSTOR 2972074.
Baillie, Robert (May 1979). "Sums of Reciprocals of Integers Missing a Given Digit". American Mathematical Monthly. Washington, DC: Mathematical Association of America. 86 (5): 372–374. doi:10.2307/2321096. ISSN 0002-9890. JSTOR 2321096.
Schmelzer, Thomas; Baillie, Robert (June–July 2008). "Summing a Curious, Slowly Convergent Series". American Mathematical Monthly. Washington, DC: Mathematical Association of America. 115 (6): 525–540. ISSN 0002-9890. JSTOR 27642532. MR 2416253.
Hardy, G. H.; E. M. Wright (1979). An Introduction to the Theory of Numbers (5th ed.). Oxford: Clarendon Press. ISBN 0-19-853171-0.
Apostol, Tom (1974). Mathematical Analysis. Boston: Addison–Wesley. ISBN 0-201-00288-4.
Farhi, Bakir (December 2008). "A Curious Result Related to Kempner's Series". American Mathematical Monthly. Washington, DC: Mathematical Association of America. 115 (10): 933–938. arXiv:0807.3518. Bibcode:2008arXiv0807.3518F. ISSN 0002-9890. JSTOR 27642640. MR 2468554.
"ERRATA". American Mathematical Monthly. Washington, DC: Mathematical Association of America. 87 (10): 866. December 1980. doi:10.2307/2320815. ISSN 0002-9890.
Irwin, Frank (May 1916). "A Curious Convergent Series". American Mathematical Monthly. Washington, DC: Mathematical Association of America. 23 (5): 149–152. doi:10.2307/2974352. ISSN 0002-9890. JSTOR 2974352.
Weisstein, Eric W. "Kempner series". MathWorld.
Havil, Julian (2003). Gamma: Exploring Euler's Constant. Princeton: Princeton University Press. ISBN 978-0-691-09983-5.