Numerical implementation (using mpmath) of the series explained in Some geometric series for Euler’s constant (2026-03-31).
Links directly (no front page) to the GitLab repository which provides (since April 2026) Python code using mpmath, which handles arbitrary bases and sets of excluded digits. The legacy Maple code (in its 2024 version with English comments) is also provided, but is now completely superseded.
This serves as a brief mathematical introduction to Kempner-Irwin harmonic series, and to the formulas regarding them, from the author 2024 papers.
It also serves as front page to the repository where one finds both SageMath and (since September 2026) pure Python with mpmath scripts implementing these formulas.
This serves as front page to the
GitLab
repository which provides Python code
using mpmath, to compute
the block-Irwin values I(b,w,k) for any base, word, and number
of occurrences. Based upon the September 2026 preprints
Block-count constrained...
and
The modal expansion of Kempner sums of the author.