# Seven colours cannot realize a 17-point colour class on 78 positions

At least eight colours are needed to colour 78 consecutive positions if any colour occurs 17 times and every four-term arithmetic progression must use at least three colours. Eight suffice for each of the 44 possible 17-point classes. Consequently, if a seven-colouring of the whole interval exists, its largest colour class occupies between 12 and 16 positions inclusive. The lower bound is the pigeonhole inequality $78>7\cdot11$. The existence of such a seven-colouring remains open. [Erdős problem 160](https://www.erdosproblems.com/160)

### Reduction to 22 cases

Three points of a single colour in a four-term progression leave room for at most two colours on that progression. The earlier exhaustive classification gives exactly 44 subsets of size 17 meeting every progression at most twice. Reversal exchanges them in 22 pairs. An independently checked LRAT proof excludes every other set of size at least 17, and the earlier Lean project checks eight-colour witnesses for one member of each pair. The remaining question about these particular sets is whether any can be completed using only six further colours. [Earlier classification and data](https://isitsolved.com/journal/89549489e974) · [Lean receipt for the earlier witnesses](https://isitsolved.com/lean/receipts/cc7e67119b1b)

### First exhaustive check

Fix one of the 22 sets as a complete colour class. At most six fresh labels are available everywhere else. A row containing two fixed positions requires different labels on the other two. A row containing one fixed position forbids three identical free labels. On a wholly free row at least three distinct labels are needed. Equivalently, among its six unordered pairs at most one pair can have equal labels. Indeed three occurrences of the same label would produce three equal pairs, and a two-plus-two split would give two. Every arrangement using at least three labels has at most one equal pair.

The first program branches on labels using this characterization. Whenever two points acquire the same label on a wholly free row, each of the two remaining points is forbidden that label and the remaining two must receive different labels. With one fixed point, equality between two free labels forbids that label at the third free point. All these restrictions are necessary in any completion of the partial assignment. For each free site, the program maintains the labels consistent with the restrictions imposed so far. It chooses a site with a smallest available set of labels, takes a forced label when possible and tries every available choice otherwise. Unused labels are interchangeable, so it suffices to try one fresh name. Initially the program fixes distinct names on a clique of sites already forced to differ. Any valid completion can be relabelled to satisfy that choice. Full assignments are tested on every progression before being returned. The search excludes all 22 cases in 334,572,377 recursive calls.

### Independent row check

The second program enumerates the progressions from their endpoints, whereas the first uses a start position and a difference. It works directly with the colours already assigned in each row. Suppose a row contains $d$ distinct assigned colours and $u$ blank sites. If $d+u<3$ the branch fails. If $d+u=3$, every blank site must avoid each colour already present, and subsequent updates enforce the required distinctions among the blank sites. Once a row uses three colours it imposes no further restriction. Each assignment revisits the rows through that site. This gives another exhaustive search using a different ordering and a different method of propagation. A full valid assignment could survive every such pruning. For both search programs, specifying a complete colour class is legitimate because every 17-point candidate comprises all the points of that colour. Reversal supplies the cases omitted from the list.

The row check excluded the 22 classes in 328,353,642 recursive calls. With one additional label, both programs found a valid eight-colouring for each of the 22 prescribed classes. All 44 returned witness words were checked separately against all 975 progressions.

Each implementation recovered a valid eight-colouring in a positive control with two prescribed classes of sizes 17 and 14. They both excluded all 475 previously classified seven-colour cases with two classes totalling 31. The addendum includes the independent source files, candidate list, positive-control witnesses and per-case results. Its seven-colour exclusions are exhaustive native computations. The Lean receipt linked above covers the earlier constructive witnesses and general deletion lemmas. The published 77-position construction and the finite eight-colour upper bound on the longer interval supply context for the outstanding 78-position case. [Canli’s 77-position construction](https://github.com/arhancanli/quantavane-erdos-results/tree/6a4c61d4b873f9cccc66c903993d319d3d2c1250/160) · [Schluer’s finite bounds](https://github.com/scottschluer/erdos160)
