Generate Gijswijt's Sequence
Create Gijswijt sequence values. Runs entirely in your browser, so your data never leaves your device.
Output
The result appears here as you type.
How to use Generate Gijswijt's Sequence
- 1. Set how many terms. Enter How many terms to decide how far to build Gijswijt's sequence. The sequence grows very slowly, so even a modest term count can take a moment to reach higher values.
- 2. Set a separator. Choose Separator, a comma or newline, to match how you plan to read or paste the resulting curling numbers.
- 3. Copy the sequence. The tool applies the curling number rule at each step, finding the longest repeated block at the end of the sequence so far and appending its repeat count. Copy the result for study.
When to use Generate Gijswijt's Sequence
Generate Gijswijt's Sequence builds the self-describing integer sequence defined by the curling number of everything generated so far. It saves the tedious step-by-step scanning needed to find repeated blocks whenever you want to study or verify this famously slow-growing sequence.
- Studying self-describing sequences. A student exploring sequences defined by rules about their own structure, like the curling number transform, wants verified terms of Gijswijt's sequence to check their manual computation.
- Testing a curling number implementation. A developer who coded a curling number detector for a sequence-analysis project runs it against known terms of this sequence to confirm the block-matching logic behaves correctly.
- Illustrating unexpectedly slow growth. Someone writing about sequences that look simple but grow astonishingly slowly points to Gijswijt's sequence, where the number 4 does not appear until an enormous index, and needs sample terms to show.
- Cross-referencing OEIS A090822. A researcher checking their own derivation against the published OEIS entry for this sequence regenerates the early terms here to confirm there is no off-by-one discrepancy.
Examples
The first nineteen terms
Output
1, 1, 2, 1, 1, 2, 2, 2, 3, 1, 1, 2, 1, 1, 2, 2, 2, 3, 2
About the Generate Gijswijt's Sequence tool
Generate Gijswijt's Sequence is a free online tool that works entirely inside your web browser. Create Gijswijt sequence values. 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 How many terms and Separator, 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 Gijswijt's Sequence 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.