Manuscript Offprint
arXiv:2610.12122Lower bounds for Ramsey numbers: and
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Lower bounds for Ramsey numbers: and
Fritz Cremer
Abstract
We prove the lower bounds and , improving the bounds 134 and 343 listed in the April 2026 revision of Radziszowski's dynamic survey. We give explicit red/blue colorings of with no red or blue , and of with no red or blue , and verify them with two independently written exhaustive clique checkers. Starting from published colorings, we find these witnesses by adding vertices and repairing the resulting monochromatic cliques through local search. The search uses exact conflict counts, preparation moves aimed at making remaining cliques cheaper to break, and mutations followed by repair. A loss based on the largest monochromatic clique containing each edge yielded a useful intermediate state for the construction. Guided by the author, an AI coding agent wrote and ran the search code; we describe the methods and document the ancestry of the resulting colorings.
Theorem 1. and .
Revision 18 of Radziszowski's survey [10], dated 24 April 2026, lists , due to Exoo and Tatarevic [4], and , due to Kuznetsov [6]. The corresponding upper bounds listed there are 423 and 4402. We prove the theorem with one (6,8)-coloring of and two (8,10)-colorings of . Four (8,10)-colorings of , found earlier, establish the intermediate bound ; one of them served as the starting point for both colorings of . Section 2 presents and verifies all seven colorings.
Our searches start from published colorings, add a vertex, and repair the resulting monochromatic cliques (Sections 3 and 4). This approach follows a long history of computational constructions [4, 6, 3]. More recently, Nagda, Raghavan and Thakurta improved nine bounds of the form and with AlphaEvolve [7]. Here an AI coding agent, guided by the author, wrote and ran the search code (Section 5).
2 The colorings
Each coloring of is stored as a symmetric matrix with zero diagonal and vertices , where an off-diagonal 1 means red and 0 means blue. The files are in the public repository [2], together with a graph6 copy of each red graph. Appendix A lists the SHA-256 hashes of the matrix files, and Table 1 gives their red edge counts and maximum clique sizes. Here and denote the sizes of the largest red and blue cliques.
| Bound | File | Red edges | |||
| R6_8/n134-gpt-6.1-sol.txt | 3913 | 5 | 7 | ||
| no. 1 | R8_10/n344-gpt-6.1-sol-1.txt | 25854 | 7 | 9 | |
| no. 2 | R8_10/n344-gpt-6.1-sol-2.txt | 25855 | 7 | 9 | |
| no. 1 | R8_10/n343-gpt-6.1-sol.txt | 25770 | 7 | 9 | |
| no. 2 | R8_10/n343-gpt-6-pro-1.txt | 25809 | 7 | 9 | |
| no. 3 | R8_10/n343-gpt-6-pro-2.txt | 25795 | 7 | 9 | |
| no. 4 | R8_10/n343-gpt-6-pro-3.txt | 25795 | 7 | 9 | |
Table 1: The colorings. and were computed with Cliquer.
The colorings with the same are pairwise non-isomorphic: they differ in the number of red edges or, for nos. 3 and 4, in their red-degree sequences. All seven red graphs also have nonconstant degrees, so none is circulant. Coloring no. 1 of was found by the search of Section 4; nos. 2 to 4 came from separate ChatGPT sessions (Section 5).
Verification. Each coloring was checked by two independently written exhaustive searches for a red and a blue , one based on bitset intersection and one on an adjacency matrix, with no code in common. As an external check, Cliquer 1.21 [9, 8] computed and . Table 2 records these checks; the repository also contains a Python verifier based on NetworkX [5].
| Coloring | clique_oracle | verify_independent | Cliquer (s) | |||
|---|---|---|---|---|---|---|
| nodes | s | nodes | s | red | blue | |
| (6, 8), | 631 956 | 0.030 | 91 758 | 0.060 | 0.005 | 0.018 |
| (8, 10), , no. 1 | 50 255 350 | 4.8 | 7 030 180 | 6.2 | 0.34 | 7.8 |
| (8, 10), , no. 2 | 50 227 192 | 4.6 | 6 690 114 | 5.7 | 0.32 | 7.9 |
| (8, 10), , no. 1 | 48 333 365 | 4.4 | 6 982 843 | 5.9 | 0.34 | 7.3 |
| (8, 10), , no. 2 | 48 189 579 | 4.4 | 7 218 446 | 6.2 | 0.33 | 7.2 |
| (8, 10), , no. 3 | 48 215 638 | 4.5 | 7 180 124 | 6.1 | 0.33 | 7.2 |
| (8, 10), , no. 4 | 47 773 459 | 4.4 | 6 886 698 | 5.9 | 0.33 | 7.4 |
Table 2: Verification of the public files on 6 October 2026, on an AMD Ryzen 9 5900X with g++ 13.3.0 (-03 -std=c++17). “Nodes” are search-tree nodes; times are single-run wall-clock seconds. All checks succeeded.
Other pairs. Applying monotonicity and standard lower-bound inequalities from Section 2.3 of the survey, we found no further improved bounds for .
3 Search methods
The searches allowed every edge to change color and imposed no symmetry or fixed subgraph. We call a red or a blue a conflict. Flipping an edge changes the numbers of red and blue conflicts by ; for example, flipping a red edge removes every red through it and creates one blue for each blue among the common blue neighbours of and . The descriptions below follow the source code of the programs that ran.
3.1 Exact conflict repair
The basic engine maintains the complete sets of red and blue conflicts and updates them after each flip, giving exact deltas. Initially and to account for the different clique sizes. Candidate edges are sampled from current conflicts, although a flip may create new conflicts elsewhere. A Metropolis rule permits increases in the weighted conflict count, with a temperature that rises during stalls. Algorithm 1 specifies one iteration with sampling budget m and stall threshold k; an ordinary iteration is skipped if all sampled edges are tabu and fail the aspiration rule.
Algorithm 1 One iteration of exact conflict repair.
1: let count iterations since the last improvement or kick 2: if then 3: make up to 8 conflict-directed random flips, clear tabu memory, reset , and set with uniform on ; end this iteration 4: end if 5: choose a color with probability proportional to , where is the set of conflicts of color , and a conflict uniformly at random 6: sample up to edges of and compute for each, skipping tabu edges unless they beat the best count so far 7: let minimize and set 8: if or a uniform random number is below then 9: flip and make it tabu for 5 to 19 iterations 10: end if
3.2 Preparation
Near a solution, breaking one conflict often creates several others. We call the minimum net change in conflict count, over edges of current conflicts, the breaking cost. The following methods aim to make these conflicts cheaper to break.
Global preparation runs periodically inside Algorithm 1. It samples up to 32 edges of current conflicts and chooses uv minimizing the weighted delta . If this minimum is positive, the kernel lists the cliques that flipping uv would create and tries flips of other edges that meet them. Each preparation flip preserves both conflict sets and is kept if it lowers the minimum over the sampled edges; ties are kept with probability 1/4. After at most 8 such steps, the cheapest edge in the updated sample is proposed under the acceptance rule of Algorithm 1.
A risk chain has the same goal but uses up to three flips that may temporarily create up to two extra conflicts. It is committed only if the final set of conflicts is exactly the original one and the cost of breaking the target edge has strictly decreased.
Clique weighting with ejection chains, used early in the R(6, 8) search, scores flips by individual conflict weights. These weights are periodically increased for surviving conflicts, with a cap and occasional decay, as in breakout methods. An ejection chain first flips an edge of a conflict, then repeatedly flips an edge of a conflict created by the previous flip. The chain is kept only if the number or total weight of conflicts drops.
3.3 Mutation followed by repair
When repair stalls, a mutation changes a small region before unrestricted repair resumes. This adapts the section mutation and crossover followed by relaxation in Jeroen Cottaar's winning solution to the Santa 2025 Kaggle competition [1]; no code from it was used. For section mutations, a set S of up to 8 vertices is built around a vertex chosen with probability proportional to its number of conflicts. A section crossover copies donor colors from the same lineage on up to a given number of pairs meeting S, while a patch flips random pairs inside S. Two further moves act on selected vertices: a rectangle flips red ab, cd and blue ac, bd together, preserving all red degrees; a block move exchanges the adjacencies of two vertices to a selected subset of other vertices.
3.4 The max-clique edge loss
Conflict counts do not directly measure smaller cliques that may grow into new conflicts. We therefore propose a loss in which each edge contributes the size of the largest monochromatic clique containing it,
where the sum is over unordered edges of , is the color of , is the set of vertices joined to in color , and is the size of the largest clique of color inside . The loss does not depend on . It is computed exactly with a branch-and-bound clique routine, rescoring after each flip only the edges whose value can change. In the loss-guided run used in the construction, conflict edges were sampled with probability 0.8; otherwise, background moves preserving both conflict counts were sampled. Candidates were ranked by their change and accepted with Metropolis probability . Here , with as in Algorithm 1; conflict counts still governed tabu aspiration, stall detection and checkpoint selection.
In short controlled comparisons from a seven-conflict (6,8) state, neither count-only nor loss-guided search reduced the conflict count. Using the loss as the primary objective made search eight to nine times slower; using it only to break count ties had smaller overhead. In that starting state, almost every edge lay in a near-forbidden clique, so the loss largely tracked edge density. One of these runs supplied the intermediate state used in the (6,8) construction described in Section 4.2.
4 How the colorings were found
For each saved search checkpoint, we retained its command, random seed and source code. Figures 1 and 2 trace the resulting colorings back to their published starting points. Each link from a coloring to its successor is recorded by file hash, except for twelve handovers between early search segments, which are identified from the search supervisor's log. Saved move traces allow some trajectories to be replayed, including the 43-flip loss-guided run. Exact reruns of the whole campaign are not guaranteed: runs were limited by wall-clock time and full internal search states were not checkpointed. The campaigns varied in seeds, duration and parents, so their histories document successful routes without providing a controlled comparison of search methods.
4.1 R(8, 10)
Kuznetsov's (8, 10)-coloring of [6] is circulant: is red exactly when lies in a set of 76 distances. Adding a copy of vertex 0, joined to it by a blue edge, gives 10 146 conflicts. Four consecutive runs of exact repair, about half an hour of search in total, reduced this to 102, 30, 6 and 0 (Figure 1(a)). The result, coloring no. 1 of , differs from the initial copy on 874 edges.
We extended this coloring by copying vertex 269 and joining the two copies by a blue edge. The resulting coloring of has 19 271 blue conflicts. Ten 30-minute segments alternating risk chains and global preparation reduced the count to 7 (Figure 1(b)). From this shared parent, two global-preparation runs saved states with 6 and 2 conflicts, respectively. Further mutation and repair led to the two witnesses of . For no. 1 (Figure 1(b)), three section crossovers with repair, each using the seven-conflict coloring as donor, gave ; the last crossover copied 26 donor colors and briefly raised the count from 1 to 73 before repair reached zero. For no. 2, two patches with repair gave ; the last patch flipped four edges and briefly raised the count from 1 to 140.
(a) n = 343
(b) n = 344: to coloring no. 1

saved colorings along the ancestry, oldest to newest
○ Published coloring
Risk chain
Mutation + repair
- Vertex added
Global preparation
count after mutation
Exact edge repair
Figure 1: Ancestry of the (8, 10)-colorings: (a) from Kuznetsov's coloring of to coloring no. 1 of ; (b) from that coloring plus one vertex to the seven-conflict parent of both colorings of (step 10), and on to coloring no. 1; the branch to no. 2 is similar and not shown. Each marker is a saved coloring, colored and shaped by the method that produced it; the vertical axis is the exact number of conflicts, linear up to 10 and logarithmic above. A dotted orange line rises from a coloring to the count right after the mutation that preceded it; repair then brought the count down to the marker. Phases that returned their input unchanged are omitted.
4.2 R(6, 8)
The search started from the -coloring of by Exoo and Tatarevic [4]. Adding a copy of vertex 117, joined to it by a red edge, gives 281 red conflicts. A 30-minute risk-chain segment reduced the total conflict count to 68, a global-preparation segment to 38, and three segments of clique weighting with ejection chains to 26, 16 and 7 (Figure 2).
From 12 endpoints that still had 7 conflicts, we selected the one with the lowest breaking cost. It came from a run guided by the max-clique edge loss that made 43 flips, keeping the same 7 conflicts while lowering the breaking cost from 17 to 8. Two 300-second risk-chain runs from this state both reached 6 conflicts. Continued preparation then lowered the breaking cost of the six-conflict state from 100 to 7.
The prepared six-conflict coloring seeded a campaign of six parallel lanes, each switching move family every 170 seconds and sharing its best colorings, ranked by conflict count and then by breaking cost. Along the ancestry, risk-chain phases reduced the count from 6 to 5 to 4. A block-exchange repair phase reached 2, followed by a risk-chain phase that reached 1. A final global-preparation phase eliminated the last conflict in 0.46 seconds.
: conflicts along the ancestry of the -coloring of

Figure 2: Ancestry of the -coloring, with the conventions of Figure 1. Top: number of conflicts. Bottom: breaking cost, where recorded. The max-clique edge loss step (star) left the count at 7 but lowered the breaking cost from 17 to 8.
5 Human and AI contributions
The search code was generated and run by Codex, OpenAI's coding agent, using the model GPT-6.1 Sol with reasoning effort “Extra High”. The author guided the search, setting the objectives and proposing ideas and strategies, including the transfer of section crossover from the Kaggle solution and the max-clique edge loss. The agent ran on the author’s AMD Ryzen 9 5900X workstation and later on up to 76 CPU cores at a time.
Coloring no. 1 of was found less than two hours after the agent was first asked to improve a bound, and nos. 2 to 4 were produced by GPT-6 Pro in separate ChatGPT sessions from the single prompt “Improve the Ramsey lower bound for R(8, 10)”.
AI tools were used as writing and editing aids during preparation of the manuscript.
Data availability
The colorings, as matrices and in graph6 format, and a Python verifier are in the repository https://github.com/fritzcremer/ramsey-lower-bounds, release v1.1.0 [2].
A File hashes
The SHA-256 hashes of the matrix files in release v1.1.0 of the repository [2] are as follows.
| File | SHA-256 |
|---|---|
| n134-gpt-6.1-sol.txt | 8ef378ad4d66478c33939e438d3a64572ec2cf7d1647ae29d3568817fedfc982 |
| n344-gpt-6.1-sol-1.txt | 17881b78e3d8b55372995f4e53ac068ca22560cf30b291c1e649eacaef21c21d |
| n344-gpt-6.1-sol-2.txt | fd3c5a55434179a596dacd9f94a1208211e3ce0da7eee9502c640a3b1860ad89 |
| n343-gpt-6.1-sol.txt | f53fa7d45f427f16a159660194cf2de5b875fa0153660eb0fe348984e450095b |
| n343-gpt-6-pro-1.txt | b913b14121c880a55f957947451cb42bcf1cf02ee3bc4fb40a6eb44d7661e0e1 |
| n343-gpt-6-pro-2.txt | 4c0c0b7b4df4cd4040e20bca7c724a790e9ed35ae05aafdc30f2192806e840ec |
| n343-gpt-6-pro-3.txt | a762539bb9d8543fb1313139c9b87e3e5ee04530aaa2faffa84aa5b9ed6c4263 |
References
[1] Jeroen Cottaar. 1st place: genetic algorithm and GPU relaxation. Kaggle writeup, Santa 2025 Christmas Tree Packing Challenge. https://www.kaggle.com/competitions/santa-2025/writeups/1st-place-genetic-algorithm-and-gpu-relaxation, and code at https://github.com/jcottaar/packing, 8 February 2026. Accessed 6 October 2026.
[2] Fritz Cremer. Ramsey lower bounds. GitHub repository, https://github.com/fritzcremer/ramsey-lower-bounds, release v1.1.0 (6 October 2026); release v1.0.0 (4 October 2026) contains the 343-vertex witnesses, 2026.
[3] Geoffrey Exoo. A lower bound for . Preprint, arXiv:2310.17099 [math.CO], 2023.
[4] Geoffrey Exoo and Milos Tatarevic. New lower bounds for 28 classical Ramsey numbers. Electronic Journal of Combinatorics, 22(3):Paper P3.11, 12 pp., 2015. arXiv:1504.02403.
[5] Aric A. Hagberg, Daniel A. Schult, and Pieter J. Swart. Exploring network structure, dynamics, and function using NetworkX. In Gaël Varoquaux, Travis Vaught, and Jarrod Millman, editors, Proceedings of the 7th Python in Science Conference (SciPy 2008), pages 11–15, Pasadena, CA, USA, 2008.
[6] Eugene Kuznetsov. Computational lower limits on small Ramsey numbers. Preprint, arXiv:1505.07186v5 [cs.DM] (1 March 2016), 2016.
[7] Ansh Nagda, Prabhakar Raghavan, and Abhradeep Thakurta. Reinforced generation of combinatorial structures: Ramsey numbers. Preprint, arXiv:2603.09172v5 [math.CO] (21 April 2026), 2026.
[8] Sampo Niskanen and Patric R. J. Östergård. Cliquer user's guide, version 1.0. Technical Report T48, Communications Laboratory, Helsinki University of Technology, Espoo, Finland, 2003.
[9] Patric R. J. Östergård. A fast algorithm for the maximum clique problem. Discrete Applied Mathematics, 120(1–3):197–207, 2002.
[10] Stanisław P. Radziszowski. Small Ramsey numbers. Electronic Journal of Combinatorics, 2026. Dynamic Survey DS1, revision 18 (24 April 2026), 149 pp.