Home Tools Blog About

Generate the Moser-de Bruijn Sequence

In short

Generate the Moser-de Bruijn sequence, the numbers that are sums of distinct powers of four.

  • Runs in your browser
  • Nothing uploaded
  • Free, no sign-up

Calculated locally in your browser. Nothing is uploaded.

🛡
100% PrivateNo server uploads, ever
InstantRuns in your browser
💧
No WatermarksClean output, always
🆓
Free ForeverNo accounts, no limits

How to Use Generate the Moser-de Bruijn Sequence

Generate the Moser-de Bruijn Sequence · free online tool · All Tools Verse
Generate the Moser-de Bruijn Sequence. Free online tool that runs in your browser.
  1. Set how many. The number of terms to list.
  2. Pick a separator. Comma, new line, or space.
  3. Generate. The sequence terms are listed in order.
  4. Copy the result. Click Copy result. It all runs in your browser.

Frequently Asked Questions

What is the Moser-de Bruijn sequence?

The numbers that are sums of distinct powers of four, which starts 0, 1, 4, 5, 16, 17, 20, 21.

How is each term built?

By reading the position in binary and placing those bits into base four, which spaces the values out.

What is it used for?

It appears in number theory and in constructions like space-filling curves.

Is anything uploaded?

No. The list is generated in your browser, so nothing leaves the tab.

Is it free?

Yes. Every tool here is free to use with no sign up.

Keep going

Related Tools

All Math tools →
Share

Embed this tool

Add this free tool to your website. Copy and paste the code: