EditSafely

Generate Champernowne Digits

Generate digits of the Champernowne constant. Runs entirely in your browser, so your data never leaves your device.

Output

The result appears here as you type.

Options

How to use Generate Champernowne Digits

  1. 1. Set the digit count. Enter Digits after the decimal point to choose how far into the constant to compute. Champernowne's constant is formed by concatenating 1, 2, 3 and so on after the decimal point.
  2. 2. Decide the output format. Turn on Digits only to strip the leading '0.' and any spacing, leaving a raw digit string. Leave it off to see the constant written as a normal decimal number.
  3. 3. Copy the digits. The tool concatenates consecutive integers after the decimal point up to the requested length. Copy the result for a normal number demonstration or a digit-analysis script.

When to use Generate Champernowne Digits

Generate Champernowne Digits builds the decimal expansion formed by writing 1, 2, 3, 4 and so on back to back after a decimal point, the standard example of a normal number. Use it whenever you need concrete digits of this constant rather than computing the concatenation yourself.

  • Teaching normal numbers. A course on number theory introducing the concept of a normal number, one whose digits are uniformly distributed, uses Champernowne's constant as the go-to proven example and needs its digits printed out.
  • Testing a digit-frequency analysis script. A developer building a tool that counts digit frequencies in a decimal expansion runs it against Champernowne's constant, where every digit should appear with roughly equal frequency, as a validation case.
  • Generating pseudorandom-looking test digits. Someone who needs a long, deterministic and reproducible string of digits for testing a parser or formatter grabs a run of Champernowne digits instead of true random numbers.
  • Illustrating concatenated integer sequences. A blog post explaining how simple concatenation rules can produce numbers with surprising properties references this constant and needs a sample of its digits shown out to twenty or thirty places.

Examples

Champernowne's constant to 20 decimal places

Output

0.12345678910111213141

About the Generate Champernowne Digits tool

Generate Champernowne Digits is a free online tool that works entirely inside your web browser. Generate digits of the Champernowne constant. Because the processing happens on your own device, nothing you enter is uploaded, logged or stored anywhere.

This page is one of 234 Math utilities on EditSafely. Each one does a single job well, and all of them follow the same rule: your input stays on your machine.

You can shape the output with 2 settings, including Digits after the decimal point and Digits only, and the result refreshes the moment you change one. A worked example further down the page shows exactly what the tool produces for a real input.

Because nothing leaves your device, the tool is suitable for sensitive content such as internal documents, credentials or customer data. It also responds instantly, since every keystroke is handled on your own machine rather than by a remote API.

Frequently asked questions

Is Generate Champernowne Digits free to use?

Yes, it is completely free. All 2,658 tools on EditSafely work without an account, a subscription or usage limits.

Does the generator send anything to a server?

Everything happens locally. Your browser downloads the tool's code once, then does all the processing itself; nothing you enter is transmitted, stored or logged. You can even go offline after the page loads and it will still work.

How do I get a different result?

Run the generator again. Each run is computed fresh on your device, and any options you change are applied to the next result immediately.

Do I need to sign up or install anything?

No. The tool works in any modern browser on desktop, tablet or phone. There is no account to create, no extension to add and no software to install.

How do I use the result?

The output panel has a one-click copy button, and you can keep refining the input while you work; the result updates in place as you type.

Related tools

All Math Tools