Generate the Moser-de Bruijn Sequence
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.
How to Use Generate the Moser-de Bruijn Sequence
- Set how many. The number of terms to list.
- Pick a separator. Comma, new line, or space.
- Generate. The sequence terms are listed in order.
- 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.
Related Tools
Generate the Baum-Sweet Sequence →
Generate the Baum-Sweet sequence, based on odd-length zero blocks in binary positions.
Generate the Gijswijt Sequence →
Generate the Gijswijt sequence, where each term counts the longest repeated block before it.
Generate the Kolakoski Sequence →
Generate the Kolakoski sequence, the self-describing sequence of 1s and 2s.
Generate Look and Say Sequence →
Generate the look-and-say sequence, where each term reads out the digits of the one…
Generate the Paperfolding Sequence →
Generate the regular paperfolding sequence, the fold directions of the dragon curve.
Generate the Rudin-Shapiro Sequence →
Generate the Rudin-Shapiro sequence, plus or minus one from adjacent ones in binary.
Generate the Thue-Morse Sequence →
Generate the Thue-Morse sequence, where each term is the parity of the ones in…
Generate an Arithmetic Sequence →
Generate an arithmetic sequence from a starting value and a common difference, your length…
Date Sequence Generator →
Generate a sequence of dates between a start and end date at a step…
Generate a Geometric Sequence →
Generate a geometric sequence from a starting value and a common ratio, your length…
Generate Cube Numbers →
Generate the first N cube numbers (1, 8, 27, 64, 125, ...) with your…
Generate Square Numbers →
Generate the first N square numbers (1, 4, 9, 16, 25, ...) with your…