Complete Technical Guide to Generate Champernowne Digits
Champernowne's constant C₁₀ = 0.12345678910111213141516... is constructed by concatenating the base-10 representations of all positive integers in order after the decimal point. In 1933, while still an undergraduate at Cambridge, David Champernowne proved C₁₀ is normal in base 10—meaning every finite digit string of length k appears with exact asymptotic frequency 10^(-k).
This generator builds Champernowne's constant up to 25,000 digits in Base 10 or any radix from Base 2 (binary C₂ = 0.11011100101110111...) through Base 36, tracking the exact final integer k reached along with digit frequencies and substring search.
Champernowne Constant Construction in Base b
C_10 = 0.123456789101112131415161718192021...
C_b = Σ_{n=1..∞} n · b^{-(Σ_{k=1..n} ⌊log_b(k) + 1⌋)}
Concatenating every positive integer 1, 2, 3, ... in base b produces a transcendental constant proven by David Champernowne in 1933 to be normal in base b.
How to Use Generate Champernowne Digits
- 1Choose a preset precision or enter any fractional digit count up to 25,000.
- 2Select continuous output or clean blocks of 5, 10, or 50 digits, and toggle the leading integer prefix.
- 3Optionally type any digit string into the Search box to locate its first appearance inside C_b, or export as TXT / JSON.
Reference Examples & Worked Benchmarks
| Precision | Output Prefix | Key Property |
|---|---|---|
| Base 10 (C₁₀) | 0.12345678910111213... | Transcendental & Base-10 normal |
| Base 2 (C₂) | 0.11011100101110111... | Binary concatenation of 1,10,11... |
| Base 16 (C₁₆) | 0.123456789ABCDEF10... | Hexadecimal Champernowne |
Practical Applications & Engineering Workflows
Numerical Verification & Testing
Generate reference strings of C_b to benchmark arbitrary-precision libraries, parsers, and hash functions.
Statistical Digit Analysis
Inspect digit sums, mean digit convergence, and 0–9 frequency distributions across thousands of places of C_b.
Accuracy, Edge Cases & Best Practices
- All 25,000 digits are computed directly in your browser using exact BigInt arithmetic—zero server round-trips and zero floating-point rounding.
All calculations execute locally inside your browser using JavaScript with zero server round-trips, guaranteeing instant responsiveness and complete data privacy.