[Paper Review] Coloring so that no Pythagorean Triple is Monochromatic
This paper investigates whether the natural numbers can be 2-colored such that no Pythagorean triple (a solution to a² + b² = c²) is monochromatic. Using a SAT solver after transforming the problem into 3-CNF logic, the authors prove that such a 2-coloring exists for all integers up to 7,664, demonstrating the first known large-scale solution to this long-standing Ramsey-theoretic problem.
We address the question of the "partition regularity" of the Pythagorean equation a^2+b^2=c^2; in particular, can the natural numbers be assigned a 2-coloring, so that no Pythagorean triple (i.e., a solution to the equation) is monochromatic? We prove that the hypergraph of Pythagorean triples can contain no Steiner triple systems, a natural obstruction to 2-colorability. Then, after transforming the question into one about 3-CNF satisfiability and applying some reductions, a SAT solver is used to find a 2-coloring for {1,...,7664}. Work continues as we seek to improve the reductions and extend the computation.
Motivation & Objective
- To determine whether the Pythagorean equation a² + b² = c² is partition regular under 2-colorings of the natural numbers.
- To investigate whether the hypergraph of Pythagorean triples admits a 2-coloring with no monochromatic triples.
- To extend the known range of integers for which such a 2-coloring is possible using computational methods.
- To explore structural obstructions—particularly Steiner triple systems—to 2-colorability in the Pythagorean triple hypergraph.
Proposed method
- Transformed the 2-coloring problem into a 3-CNF satisfiability problem, where each triple (a,b,c) with a² + b² = c² corresponds to the clause (x_a ∨ x_b ∨ x_c) ∧ (¬x_a ∨ ¬x_b ∨ ¬x_c).
- Applied hypergraph reduction techniques, including the removal of pendant triples (those sharing only one vertex with the rest of the hypergraph), to simplify the input for the SAT solver.
- Used the Treengeling SAT solver in a parallelized, distributed computing setup across high-performance clusters (Maxwell and Planck) at the University of South Carolina.
- Implemented a node-pooling strategy using shell scripts and system calls to manage multiple solver instances on 12-core nodes, dynamically submitting new jobs as previous ones completed.
- Employed a reverse-addition method: after solving the reduced hypergraph, re-added pendant triples one by one and recolored them to maintain bichromaticity.
- Used a custom Python script to systematically test for additional reducible subgraphs beyond pendants, aiming to further compress the input.
Experimental results
Research questions
- RQ1Is there a 2-coloring of the natural numbers such that no Pythagorean triple is monochromatic?
- RQ2Can the hypergraph of Pythagorean triples be 2-colored, and if so, up to what integer limit is such a coloring possible?
- RQ3Are Steiner triple systems—known obstructions to 2-colorability—present in the hypergraph of Pythagorean triples?
- RQ4What structural reductions can be applied to the Pythagorean triple hypergraph to make the 2-coloring problem computationally tractable?
- RQ5How does the performance of SAT solving scale when applied to this specific hypergraph, and what parallelization strategies yield optimal results?
Key findings
- The authors successfully constructed a 2-coloring of the integers from 1 to 7,664 such that no Pythagorean triple is monochromatic.
- The SAT solver, after removing pendant triples, found a valid 2-coloring for all triples up to 7,650 in approximately 33 hours.
- The solver found a solution for all triples up to 7,620 in about 21 hours when pendants were removed.
- The final coloring was verified to be bichromatic for all triples with entries ≤ 7,664, using a reverse-addition method that preserved correctness.
- No consistent patterns were found in the colorings, suggesting a high degree of freedom in valid 2-colorings.
- The hypergraph of Pythagorean triples contains no Steiner triple systems, ruling out this classic obstruction to 2-colorability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.