Navigation

HomeImage ToolsCode ToolsMath ToolsDate ToolsGeneratorsUtilities
Color ToolsText ToolsPDF Tools

Generate Moser–de Bruijn Sequence

Generate the Moser–de Bruijn sequence — numbers that are sums of distinct powers of 4.

What Is the Moser–de Bruijn Sequence?

Pick a count and get the Moser–de Bruijn sequence instantly — numbers whose base-4 digits are only 0 or 1, so 0, 1, 4, 5, 16, 17, 20, 21, 64, 65, and so on. Pull up to 1000 terms as a table, comma list, one-per-line, or JSON. And everything runs in your browser. Nothing gets uploaded.

Related Tools