Alien Math · the Foundry · OEIS A000789
57 vertices, and not one more
How big can a ring-shaped network get before it is forced to contain either a triangle or 13 mutual strangers? For circulant graphs the answer is 57. We computed it, checked it twice, and found that others got there first. The whole search below re-runs in your browser.
Not a discovery, and we say so. Kuznetsov's 2015 enumeration of distance colourings (arXiv 1505.07186, Table 1) already gives 57 for the (3,13) case, and every circulant is a distance colouring, so the upper bound was implied a decade ago. Coniglio, Furini, Ljubić, San Segundo, Thüerauf and Traversi (arXiv 2608.18769, August 2026) report RC(3,13) = 58 by integer programming, which agrees, and go on to n = 20. We have not yet read Harborth and Krause (2003), who searched cyclic colourings up to 102 vertices and may have the value too. What this page adds is an independent confirmation and a refutation small enough to replay in a tab. OEIS still stops at n = 12 as of 24 October 2026.
The question
A ring, some chords, and two things to avoid
Put m dots on a circle. Pick a few distances, say 1, 5 and 8, and join every pair of dots that sit exactly that far apart around the ring. That is a circulant graph, written Cay(Zm, ±S). It looks the same from every dot, which is what makes it searchable.
Ramsey's theorem says a big enough graph must contain a triangle or a large set of dots with no edges between them (an independent set). A000789(n) asks for the largest circulant with no triangle and no independent set of size n. For n = 12 the answer has been known to be 48. For n = 13 OEIS is blank.
Half one · existence
Nine witnesses, checked as this page loaded
For every m from 49 to 57 there is a chord set that works: no triangle, and the largest independent set has 12 dots. Your browser just checked each one with an exact search (no sampling).
| m | chords S | triangle-free | independence number |
|---|---|---|---|
| checking… | |||
The m = 57 graph also has a second witness in a different orbit, ±{1, 4, 6, 9, 20, 23}. An earlier write-up called that one the canonical form of the first. It is not; both are valid, and they are not related by a unit multiplication. File: witness_m49_57.json, sha256 2b72fd199d85eab2a1cad50c59452b17d11ca165ec4579c635b25db63bdf041a.
Half two · impossibility
Every circulant on 58 to 68 dots fails
Three facts shrink the search from 229 chord sets at m = 58 to something a laptop eats in seconds:
- Degree is at most 12. In a triangle-free graph a dot's neighbours can't be joined to each other, so they form an independent set. This is a textbook fact, not a new lemma.
- Only dot 0 needs checking for triangles, because every dot looks the same.
- Multiplying every chord by a number coprime to m gives the same graph, relabelled, so one representative per orbit is enough.
For each orbit the search must produce 13 dots that are pairwise unjoined. Each such certificate is then re-checked with nothing but the distance rule, separately from the search code. Above 68, the classical bound R(3,13) ≤ 68 (Goedgebeur and Radziszowski, arXiv 1210.5826) finishes the job, so even m = 68 is covered twice.
| m | chord sets (deg ≤ 12) | orbits | certified | time |
|---|---|---|---|---|
| press run | ||||
Green means your count matches the Foundry's original run for that m. Together with the witnesses this gives A000789(13) = 57, A267295(13) = 58 (it is A000789 plus one by definition), and A267296(13) = 58 (the smallest m where every circulant fails, which needs all nine witnesses below it).
Calibration
Does the method get the known answers right?
A checker that can only say yes is worthless, so the same code is run on every known term, n = 3 to 12. If it disagreed with OEIS anywhere, the n = 13 result would mean nothing.
| n | OEIS | this tab |
|---|---|---|
| press replay | ||
Your turn
Try a chord set
The record
Checked, then corrected
The Foundry's first report called this "three open sequences solved" with a new lemma. An independent re-implementation (no shared code, same model family, so not fully independent) audited it on 24 October 2026. The numbers held. The story did not:
- It is one computation read three ways, not three results. The data files behind the three sequence IDs are byte-identical.
- The degree bound is classical.
- The draft cited R(3,13) ≤ 69. The current bound is 68.
- The m = 57 "canonical orbit" claim was wrong (see above).
- Writing this page turned up one more: the draft's totals line (1,317,031 sets, 74,366 orbits) does not add up. The per-m counts are right; their sum is 1,206,892 sets and 77,611 orbits, which is what the run above reports.
The method is explicit certificates checked by a second code path. No formal checker such as Lean has passed it, so this page says "checked", never "verified". For results held to that standard, see Erdős Check.
Before anything goes to OEIS: cite Kuznetsov 2015 and Coniglio et al. 2026, use R(3,13) ≤ 68, read Harborth and Krause 2003, and submit A000789 first with the other two as cross-references. Back to the Alien Math wing.