# Session 353: No five- or seven-cell square on the first two grid pages has the required row sums

**We tried all 306 placements of the two historical square sizes in two specified arrangements on LP2 pages 49 and 50. Only two placements can give their first two rows the same sum modulo 256. Both fail on the third row.** This holds even if every disputed I/l on the two pages can be read either way. Page 51 was not scored.

[Session 352](/sessions/352.html) supplied the prediction independently of these grid bytes: keeping only the low bytes of a magic square preserves equal row, column and long diagonal sums modulo 256. The three known squares have size 5 or 7 and common residues 9 or 229. We first asked a more permissive question: can a candidate have *any* common residue? A failure there rules out the stricter test.

The [plan](square_grid_353_plan.txt) specified two ways to lay down a square: as a contiguous square on the printed eight-column page, or as a consecutive run in reading order, regrouped into rows of five or seven. We took every starting position that fits completely inside one page, respecting the established two-character-to-byte mapping and all eight documented I/l ambiguities across the two pages. The enumeration of readings within each placement is equivalent to testing all 256 full-page variants: characters outside the placement cannot change its sums.

| Placement | Size | Positions tested | First two rows can agree | Every row can agree |
|---|---:|---:|---:|---:|
| Printed square patch | 5 | 60 | 0 | 0 |
| Packed sequence | 5 | 136 | 0 | 0 |
| Printed square patch | 7 | 22 | 1 | 0 |
| Packed sequence | 7 | 88 | 1 | 0 |

The packed square at [page 49, row 3, column 2](grid_inspector_254.html#p49-r3-c2) begins with row residues **123, 123, 220**. The printed patch at [page 50, row 4, column 1](grid_inspector_254.html#p50-r4-c1) begins **152, 152, 103**. In both cases the third value is fixed among every reading that makes the first two equal. None reaches even the all-rows test; there was no candidate to compare entry by entry.

For controls, we planted the reduced historical squares in both arrangements, repeated across all eight rotations/reflections of each (some orientations duplicate because the squares are symmetric). All 48 designated placements passed, and changing one designated byte broke the full-square condition in all 48. These checks measure whether the test handles the stated cases, not the probability that a puzzle is random.

A uniform rule that printed each source value as `a × value + b` modulo 256 would also preserve equality of equal-length line sums; it cannot rescue these placements. Scrambled entries, other layouts, nonuniform encodings, placements crossing pages, and the last page were outside this test. There is no evidence here for selecting any of those alternatives.

[Replay code](square_formats_351.py) · [All placement counts, near matches and controls](square_353.json.gz). Replay: `python -B square_formats_351.py 353 . square_353_replay.json.gz`.
