Liouville reals in integer bases

edit · history · discussion · files · long url · radix expansion transcendental number theory
Numbers
$b$ 
$L_b$
2:
0.7656250596046447753906250000000000007523163845262640050999913838222372338039459563341360137656010920
3:
0.4458161865604680038295105585486831707930270963181200944618674758806311155829718262643880427849716641
4:
0.3127441406250035527136788005009293556213378906250000000000000000000000005659799424266695229693199557
5:
0.2400640000000000167772160000000000000000000000000000000000000000000000000000000000013292279957849159
6:
0.1944658779149519892371056331457585776612617603313737458415440949144118210999288475654834638864424317
7:
0.1632738059822012936838740201940997849613690956043946757284556141095394893514075608388710243183978214
8:
0.1406288146972656250002117582368135750847670806251699104905128479003906250000000000000000000000000000
9:
0.1234586717998799490442149974565480940816682161656787712515494816390362496450899676004306614247756548
10:
0.1100010000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000
11:
0.09917411819293831824024133510434577709368209534530120231692737100650464079974728950935694166788954065
12:
0.09027811267575445816186558185209189285940946661557870650090804303507134360101304605731011379218438140
13:
0.08284044386260156554775629383561969976120415024649774840911847198943078692249864462205542168548442658
14:
0.07653074505520658909127999419122041496065845679919904898163462933574186405474151277052309629451892246
15:
0.07111119890260631001371742118423172429948877801486703492246985174486850168078118675075205014283018856
16:
0.06640630960464477539062500001262177448353618888658765704452457967477130296174436807632446289062500000
Definition
For an integer base $b\geq2$, the Liouville real is $L_b=\sum_{n=1}^{\infty}b^{-n!}$, where $n!$ denotes the factorial. [1]
Parameters
$b$
—   construction base ($b\geq2$)
Formulas
(1)
For an integer $N\geq1$, put $s_N=\sum_{n=1}^{N}b^{-n!}$. Since subsequent factorial positions are distinct integers at least $(N+1)!$, $0<L_b-s_N\leq\sum_{j=(N+1)!}^{\infty}b^{-j}=b^{-(N+1)!}/(1-1/b)$.
(2)
Writing $s_N=A_N/b^{N!}$ gives $A_1=1$ and $A_N=A_{N-1}b^{N!-(N-1)!}+1$ for $N\geq2$.
Comments
(3)
The base-$b$ fractional digit is $1$ precisely at positions $1,2,6,24,120,720,\ldots$ and is $0$ elsewhere, counting the first fractional digit as position $1$. The sum starts at $n=1$, so position $1$ occurs once. Changing $b$ changes the real number, rather than its notation.
(4)
The classical decimal Liouville constant is $L_{10}=0.110001000000000000000001\ldots$ [1]. The binary Liouville number is $L_2=0.765625059604644775390625\ldots$ in decimal notation [2]. All stored entries are decimal enclosures of the corresponding real numbers.
(5)
Each $L_b$ is a Liouville number and is transcendental [1]. Indeed, its nonperiodic base-$b$ digit sequence has arbitrarily long zero gaps, so it is irrational. The partial sums in (1), with denominator $q_N=b^{N!}$, satisfy $0<L_b-s_N\leq b\,q_N^{-(N+1)}/(b-1)$. Thus for every positive integer $m$, sufficiently large $N$ give $0<L_b-s_N<q_N^{-m}$, which is the Liouville approximation criterion.
Programs
(P1)
Sage
import numberdb.sage as numberdb
from sage.rings.integer_ring import ZZ
from sage.rings.rational_field import QQ
from sage.rings.real_mpfi import RealIntervalField

def liouville(b, digits=100):
    raw = b
    b = ZZ(b)
    if isinstance(raw, (float, bool)) or str(b) != str(raw).strip() or b < 2:
        raise ValueError("b must be an integer at least 2")
    n, f = 1, 1
    s = QQ(1) / b
    while True:
        g = f * (n + 1)
        tail = QQ(1) / ((b - 1) * b**(g - 1))
        if tail < QQ(1) / ZZ(10)**(digits + 15):
            RIF = RealIntervalField(max(512, numberdb.bits(digits, losing=96)))
            return RIF(s, s + tail)
        n, f = n + 1, g
        s += QQ(1) / b**f

liouville(10)
Links
Similar tables
Factorial of natural numbers —   gives the integer exponent positions used in the defining sum
Champernowne constants in integer bases —   concatenates the base expansions of positive integers instead of marking factorial digit positions
Copeland–Erdős constants in integer bases —   concatenates the base expansions of primes instead of marking factorial digit positions
Prime-indicator reals in integer bases —   Both constructions place digit 1 at selected fractional positions in the construction base. Liouville reals use factorial positions; prime-indicator reals use prime positions.
Data properties
Entries are of type: real number
Relative precision: 100 significant decimal digits
Table is complete: no (it contains every integer construction base $2\leq b\leq16$, a contiguous small-base reference selection containing the binary and classical decimal members. The finite upper bound is a practical coverage choice; all integer bases $b\geq17$ remain valid members)
How they were obtained:

Exact rational partial sums are enclosed using the geometric tail bound in (1), choosing $N$ so that the tail is less than $10^{-115}$. This gives $N=5$ for $2\leq b\leq9$ and $N=4$ for $10\leq b\leq16$. Both exact rational endpoints are converted outward by MPFI at 512 bits. The resulting finite, nonzero-width intervals are contained in the stored 100-significant-digit decimal intervals.

more

A separate implementation tests each positive digit position for factorial membership by successive integer division, then constructs an exact rational digit prefix by Horner evaluation. An all-position geometric tail below $10^{-175}$ bounds every continuation. It checked all 15 entries, the rational prefix recurrence and serialization containment. The first 150 decimal digits of $L_{10}$ and $L_2$ agree with [1] and [2]. Known-answer controls and deliberately wrong indexing, scaling, base and uncertainty controls passed. The attached checks and results retain the evidence. Long strings of zero digits do not make these infinite sums exact rationals.