AI Solves Decades-Old Math Problem

Anthropic's Claude Opus 4.6 solved a complex directed Hamiltonian cycle problem, showcasing AI's advanced reasoning.

2 min read
AI Solves Decades-Old Math Problem

In a stunning display of advanced reasoning, Anthropic's Claude Opus 4.6 has cracked a long-standing mathematical problem involving directed Hamiltonian cycles. The development caught even Don Knuth, a titan of computer science, by surprise, prompting a reevaluation of artificial intelligence's creative potential.

The challenge, posed by Knuth himself, involved decomposing a specific type of directed graph into three cycles. Knuth had solved it for m=3, but a general solution for all m>2 remained elusive. Empirical evidence from 4 to 16 hinted at a solution, a hunch now validated by Claude.

Related startups

Claude's Strategic Approach

Claude's journey to a solution was marked by methodical exploration. Initially, it reformulated the problem, seeking a permutation assignment to guide cycles. Early attempts with linear and quadratic functions proved fruitless.

The AI then pivoted to a depth-first search, finding it too slow without optimization. A breakthrough emerged with the identification of a "2D serpentine pattern" in Cayley digraphs. This pattern, and its subsequent "3D serpentine" variant, provided initial steps but left residual structures difficult to decompose.

Fiber Decomposition and Pattern Recognition

A key insight came with the "fiber decomposition" strategy, viewing the digraph as layered. Claude explored permutations within these layers, finding that some uniform choices for specific layers yielded solutions for small values of m.

This led to the development of a concrete construction, presented as a Python program and later translated to C. This program successfully generated valid decompositions for odd values of m, a feat confirmed by extensive testing.

Generalization and the Road Ahead

The core of the solution for odd 'm' lies in its generalizability. Knuth proved that Claude's discovered cycle construction for m=3 could be extended to all odd m. This "Claude-like" decomposition relies on specific rules dependent on vertex coordinates.

While the problem is solved for odd 'm', the case for even 'm' remains open. Claude made progress, identifying solutions for specific even values, but a general construction proved elusive. The pursuit continues, with hints of solutions from other models like GPT-5.3-Codex.

© 2026 StartupHub.ai. All rights reserved. Do not enter, scrape, copy, reproduce, or republish this article in whole or in part. Use as input to AI training, fine-tuning, retrieval-augmented generation, or any machine-learning system is prohibited without written license. Substantially-similar derivative works will be pursued to the fullest extent of applicable copyright, database, and computer-misuse laws. See our terms.