Look and Say Sequence Generator — Free, Browser
Generate the look-and-say sequence (Conway). 1, 11, 21, 1211, 111221... Browser-only.
About Look and Say Sequence
The look-and-say sequence (also called Conway's sequence) is generated by reading the previous term aloud: 1 → "one 1" → 11 → "two 1s" → 21 → "one 2, one 1" → 1211 → "one 1, one 2, two 1s" → 111221, and so on. Discovered popularly by John Conway. Each term grows in length, and Conway's cosmological theorem states the sequence eventually decomposes into 92 fundamental atoms. The ZTools Look and Say Generator computes the first N terms in the browser.
Use cases
- Recreational math curiosity. See how a simple rule produces an unbounded growing sequence.
- Teaching counting + grammars. Visualise how recursive descriptions work.
- Programming exercise. Implementing look-and-say is a classic interview problem.
How it works
- Pick start term. Default 1. Or any starting digit string.
- Pick term count. 1 to 30 typical. Beyond that, terms grow very long.
- Generate. For each term: walk runs of consecutive same digits, output count + digit.
Examples
Input: First 6 terms
Output: 1, 11, 21, 1211, 111221, 312211.
Input: Term 10
Output: 13211311123113112211 — 20 chars; growth rate is Conway's constant ~1.303.
Frequently asked questions
Conway's constant?
The ratio of consecutive term lengths approaches λ ≈ 1.303577... (root of a 71-degree polynomial). Each term is ~30% longer than the previous.
Cosmological theorem?
Conway proved every term eventually decomposes into 92 fundamental "atoms" that don't interact. Recreational math at its purest.
Privacy?
All in browser.
Pro tips
- After ~25 terms, length exceeds millions of digits — display gets unwieldy.
- Try different starting digits (3, 5, 9) — different starting points lead to different sequences.
- Implement it yourself once — classic coding-interview question (group runs, format output).
Reviewed by Ahsan Mahmood · Last updated 2026-05-06 · Part of ZTools.
For the full,
formatted version of this page, please enable JavaScript and reload
https://ztools.zaions.com/look-and-say.