Code covered by the BSD License  

Highlights from
Summing Kempner's Curious (Slowly-Convergent) Series

Be the first to rate this file! 24 Downloads (last 30 days) File Size: 2.02 KB File ID: #22036

Summing Kempner's Curious (Slowly-Convergent) Series

by Thomas Schmelzer

 

09 Nov 2008 (Updated 01 Feb 2009)

We compute the limit of the harmonic series missing all numbers that contain a "42".

| Watch this File

File Information
Description

This package shows how to compute the sum of some very strange convergent series.

The harmonic series 1/1 + 1/2 + 1/3 + ... + 1/n + ... diverges. This means that the sum can be made as large as desired by adding enough terms.

Suppose we delete from this series all terms with a "9" in the denominator. That is, we remove 1/9, 1/19, 1/29, etc. Then the remaining series converges to a sum less than 80. This very surprising result was proved by A. J. Kempner in 1914.

We also get convergent series if we pick any other digit string (say, "314159") and compute the sum of 1/n where n contains no "314159".

Unfortunately, these series converge so slowly that it is impossible to compute their sums simply by adding up terms. A more sophisticated algorithm is required. As a result, this computational problem has attracted much interest over the years.

The article, "Summing a Curious, Slowly Convergent Series" by Thomas Schmelzer and Robert Baillie in the American Mathematical Monthly, vol. 115, pages 525-540 (June/July 2008) has an algorithm that computes sums of these and related series quickly, and to high precision.

This MATLAB implementation computes the sum of the "no 42" series. This problem is stated in the Appendix of the book "The SIAM 100 Digit challenge".

see also: http://library.wolfram.com/infocenter/MathSource/7166/

MATLAB release MATLAB 7.6 (R2008a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
01 Feb 2009

I have switched off some nasty warning messages appearing in some MATLAB versions.

Tag Activity for this File
Tag Applied By Date/Time
mathematics Thomas Schmelzer 09 Nov 2008 19:32:21
infinite series Thomas Schmelzer 09 Nov 2008 19:32:21
kempner Thomas Schmelzer 09 Nov 2008 19:32:21
harmonic series Thomas Schmelzer 09 Nov 2008 19:32:21
mathematics Cristina McIntire 10 Nov 2008 10:32:12

Contact us at files@mathworks.com