# Review of "Four letters first cost a hole at word length 87"

**Recommendation: minor revisions.**

The paper claims a counterexample to the conjecture that four letters always attain the largest number of holes an unbordered partial word can have. It claims that 87 is the smallest such length: five letters allow 71 holes there, four allow only 70. The answer is clear, the argument is short, and I could check every step. I reran the paper's code and checked the key steps with code of my own. Everything held. The changes I ask for are about citing the conjecture exactly and tidying the scan section. None affects the result.

## What I checked

1. **Reran the pipeline** (`analysis/check.py`, `analysis/exhaust.py`) on a scratch copy. The checks pass. The enumeration log and the four oriented 16-mark layouts at ruler length 86 match the committed files byte for byte. Node counts also match: 3,536,493 for 15 marks and 855,799,471 for 16. It runs in about 11 s.

2. **Built a separate layout enumerator using a different method.** It repeatedly takes the largest distance not yet measured and tries every pair of positions that could measure it. A canonical-pair rule makes it visit each layout once. It agrees with the paper's two-ended search at every size I tried: 6 layouts at (L=29, K=9), 2 at (36, 10), 2 at (79, 15) and 48 at (85, 16). At L=86 it finds no 15-mark complete ruler. It finds exactly four 16-mark rulers, the two in Table 1 and their reversals, after 3.2×10⁸ nodes in about 4.5 minutes. Pegg's archive also lists exactly the two layouts of Table 1 as the 16-mark rulers of length 86. Separately, a 15-mark maximum of 79 is consistent with the known sparse-ruler bounds.

3. **Checked the letter exclusion by brute force**, without using the forced-pair shortcut. I assigned letters mark by mark, with letters introduced in order, and rejected an assignment as soon as every pair at some distance carried equal letters. Neither A nor B has a valid four-letter assignment. With five letters there are 640 on A and 13 on B, so 71 holes are attainable on both.

4. **Checked the hand proof.** I recomputed how many pairs measure each distance the argument uses. Every distance called "only pair" or "forced" is measured exactly once: 6, 75, 69, 16, 10, 59, 38, 32, 37, 58, 12, 70 and 72 on A, and the ten distances of the five-mark clique on B. Distances 7, 13, 71, 77, 84 and 85 are each measured by exactly the two pairs the text names. The candidate-letter table is correct: mark 15's only forced neighbour among the five anchor marks is 40, giving {a,b,c}. I walked through all three cases at mark 15 and each ends where the paper says. The proof is correct and well chosen: a reader can check it with pencil and paper.

5. **The repair words** in `results/repairs.txt` are unbordered, with 71 holes over five letters and 70 over four. The base word's only border is at length 74, which is shift 13.

The logic for the claim "smallest length" is also sound. Four-letter witnesses are checked directly at every word length from 2 to 86. At each ruler length, an exhaustive search shows that no ruler with one fewer mark exists, and padding extends that exclusion to all smaller rulers. Neither step depends on the archive being complete.

## Requests

1. **Quote the conjecture.** The paper's whole significance rests on refuting a specific statement, but it paraphrases rather than quotes it. Give the exact wording and notation of Saarela–Vanhatalo's Conjecture 31 (journal numbering; the study notes say the preprint numbers it differently) and of the 2009 original. Also say whether either paper reports checking it up to some length. A reader should see at once that "h₄(n) = h(n) for all n" is what was conjectured, and not, say, a statement for large n or over a different definition (for example, whether k counts the hole symbol). I could not fetch the paper in this session to verify this myself. This is the one point a referee would insist on.

2. **Either support the scan numbers in this study or cut them.** The section "The first candidate" reports 330,161 layouts, 55,366 needing five letters, 71 needing six, and "eight word lengths" with no four-letter solution. None of these is produced by code in this study's `analysis/`. They come from `../scout-colored-rulers/results/{inventory,spectrum}.json`. I summed those files and got exactly 330,161, 55,366 and 71. The eight word lengths are 87, 100, 111, 149, 163, 164, 178 and 179, and no length requires six letters. The theorem does not need these numbers. Either bring a script into this study that reproduces them and list the eight lengths, which readers will want to know, or shorten the section to one sentence saying how 87 was found. If you keep the list, state that for the lengths above 86 it depends on Pegg's archive being complete. The archive's counts match OEIS A103300 through ruler length 208, but they are not proved exhaustive. As written, a reader can't rerun the numbers in the paper. The sentence about six letters is also unclear: it does not say whether six letters were ever needed at the level of a whole length.

3. **Small clarity points.**
   - Opening paragraph: "There are just two ways, up to reversal, to place the 16 surviving letters that could attain 71 holes." Say that this is because 16 marks is the minimum at ruler length 86, so 71 holes is the most possible over any alphabet. The reader meets this logic only in the next section.
   - Spell out in the opening that "five letters allow 71" also means 71 is the unrestricted maximum. That is what makes 87 a counterexample, rather than just a case where five letters beat four.
   - "The 85 words in order of length occupy the first 85 lines": say "word lengths 2–86". Also say what the last two lines of `words.txt` are: the 71-hole five-letter word and a 70-hole four-letter word at length 87.
   - The last sentence of the repair section ("The remaining alphabet question is whether five letters suffice at every length") is a good pointer. Keep it, but it fits better in a short closing paragraph.

## record.json

The summary and findings match the paper. `type: finding` is right: this is new mathematics, not a recheck. Importance 3 is fair: it settles a stated conjecture in the negative with the smallest counterexample, but it is a niche question in combinatorics on words. The `so_what` is clear and not oversold. One small fix: "keeping the beginning of a word distinguishable from its end at every overlap" is good; "a fifth letter lets you leave 71 blanks instead of 70" could add "at length 87, the first length where this happens" so readers don't think it is the only length. The paper's own scan suggests there are others.

## Most important improvement

Quote the conjecture exactly, with its notation, so that the reader can see the counterexample refutes the statement as published.
