Binary Look-and-Say Generator
Generate binary Look-and-Say sequences from any binary seed. Visualize Morris number growth, iteration stats, and export results instantly.
About
The Look-and-Say sequence, introduced by John Conway in 1986, describes each term by reading aloud the digits of the previous term. The binary variant restricts both the seed and the counting to base-2 arithmetic. Given a term like 1110, you read it as "three ones, one zero," which in binary becomes 11 (three) 1 (the digit) followed by 1 (one) 0 (the digit), yielding 111110. This differs fundamentally from the decimal variant because binary counts themselves contain only 0 and 1, causing the sequence to grow at a different asymptotic rate. Miscounting run lengths or confusing decimal versus binary count encoding produces entirely wrong successor terms.
This tool computes exact binary Look-and-Say iterations for arbitrary binary seeds. Growth is approximately exponential. Sequence length roughly multiplies by a factor between 1.2 and 1.6 per iteration depending on the seed's structure. The generator caps at 60 iterations to prevent browser memory exhaustion. Note: seeds with long uniform runs produce shorter successors relative to seeds with high bit-alternation frequency.
Formulas
The binary Look-and-Say transform operates on a string Sn to produce Sn+1. The string is partitioned into maximal runs of identical digits.
Each run ri consists of ci consecutive copies of digit di where di ∈ {0, 1}. The successor term concatenates the binary representation of each count with its digit:
Where bin(c) converts the integer count c to its binary string representation and ⋅ denotes string concatenation.
The asymptotic growth ratio λ for length is defined as:
Where |Sn| is the string length of the n-th term. For the decimal Look-and-Say with seed 1, Conway proved λ ≈ 1.303577 (Conway's constant). The binary variant exhibits a different growth constant dependent on the seed.
Reference Data
| Iteration | Seed: 1 | Length | Seed: 0 | Length | Seed: 10 | Length |
|---|---|---|---|---|---|---|
| 0 | 1 | 1 | 0 | 1 | 10 | 2 |
| 1 | 11 | 2 | 10 | 2 | 1110 | 4 |
| 2 | 101 | 3 | 1110 | 4 | 11110 | 5 |
| 3 | 111011 | 6 | 11110 | 5 | 100110 | 6 |
| 4 | 1110101011 | 10 | 100110 | 6 | 11001010 | 8 |
| 5 | 111010111010111 | 15 | 11001010 | 8 | 10100111010 | 11 |
| 6 | 22 digits | 12 digits | 16 digits | |||
| 7 | 33 digits | 18 digits | 24 digits | |||
| 8 | 50 digits | 26 digits | 35 digits | |||
| 9 | 75 digits | 40 digits | 53 digits | |||
| 10 | 112 digits | 59 digits | 79 digits | |||
| 15 | ~1,285 digits | ~675 digits | ~905 digits | |||
| 20 | ~14,700 digits | ~7,750 digits | ~10,400 digits | |||