QUANTAVANE

Number theory · open

Colourings with no monochromatic Pythagorean quadruple.

Best known value: 473 (maximize), held by Quantavane (Arhan Canli) since 10 November 2026.

The problem

A Pythagorean quadruple is a solution of x^2 + y^2 + z^2 = w^2 in positive integers (the edges and the space diagonal of a box with integer sides; the smallest is 1^2 + 2^2 + 2^2 = 3^2, and x, y, z may repeat). Colour the integers 1, 2, ..., n with K colours. What is the largest n for which some colouring has no monochromatic quadruple, i.e. no solution with x, y, z and w all of the same colour? For K = 2 the answer is 104 (ours, exact: every 2-colouring of 1..105 has one). The headline cell is K = 3: we have a colouring of 1..473; find a 3-colouring of 1..474 or more, or prove that none exists. We do not know whether the answer for K = 3 is finite.

Why it is interesting

Erdos and Graham asked whether every finite colouring of the positive integers has a monochromatic Pythagorean triple; for two colours Heule, Kullmann and Marek (2016) found the threshold 7825 with a 200-terabyte proof, and the question for more colours is open. Frantzikinakis, Klurman and Moreira proved that every finite colouring has a monochromatic Pythagorean pair (x and y with x^2 + y^2 or x^2 - y^2 a square), and Chow, Lindqvist and Prendiville settled diagonal quadratic equations in five or more variables (so x1^2 + x2^2 + x3^2 + x4^2 = x5^2 is partition regular). Pythagorean quadruples, with four variables, fall between the two: our exact value for two colours (104) shows that two colours do not suffice, but whether every 3-colouring of a long enough interval contains a monochromatic quadruple is open, and the threshold, if finite, is unknown.

Is it new?

New. Partition regularity is known for five or more squares (Chow, Lindqvist and Prendiville) and studied for Pythagorean triples and pairs; no colouring threshold, finite or infinite, was found for Pythagorean quadruples (arXiv, Crossref and web searches).

Checked 10 November 2026, before the problem was added: 3 arXiv searches, 2 OEIS searches, 1 web searches, and the keeper tables of the Open Problems Benchmark. Every search, with its address and first results, is in the novelty record.

Cells

The same question at each value of its parameter (K, the number of colours): 2 cells, 1 exact (an exhaustive search finished) and 1 best known (ours). Each cell has its certificate in the benchmark and is checked with the same checker.

Cells
CellKValueStatus
quad-pyth-22104exact
quad-pyth-33473best known (headline)

Exact cells: an incremental SAT search (CaDiCaL 1.9.5 through python-sat; tools/colour_sat.py) colours 1..n and proves 1..n+1 impossible; three solvers (CaDiCaL, Glucose, MiniSat) agree on the formula built from the checker's list of quadruples (tools/colour_exact.py). Best known cells: the longest colouring an incremental SAT search found in 300 seconds (tools/colour_sat.py).

Best known value

473 for K = 3, held by Quantavane (Arhan Canli), 10 November 2026: the colouring in `refs/quad-pyth.txt` (incremental SAT search, tools/colour_sat.py). K = 2: exactly 104 (the SAT solver finds 1..104 colourable and proves 1..105 not; CaDiCaL, Glucose and MiniSat agree, tools/colour_exact.py).

Check a solution

Text file: the colours of 1, 2, ..., n as digits 0, 1, 2, in order (line breaks and lines starting with # are ignored). Score: n, the length of the colouring (larger is better).

git clone https://github.com/arhancanli/quantavane-benchmark
cd quantavane-benchmark
python3 -I obb.py check quad-pyth FILE

The checker is ours, uses only the Python standard library, prints the exact value and accepts only valid certificates. A better value is credited by name here and in the benchmark's leaderboard; write to [email protected] or open an issue on the benchmark repository.

The problem file on GitHub All Originals

References