An Anthropic researcher reported that Claude helped solve a Hadamard matrix of order 668, a long-standing open problem in combinatorics, potentially marking an AI-assisted breakthrough in the Hadamard conjecture.
# Hadamard Matrix of Order 668
Source: [https://epoch.ai/frontiermath/open-problems/hadamard](https://epoch.ai/frontiermath/open-problems/hadamard)
## Solution update
A solution to this problem has been[reported](https://x.com/__alpoge__/status/2087504785952182273?s=20)by a researcher from Anthropic, crediting a team of three humans and Claude\. The solution — posted in the form of a puzzle — encodes Hadamard matrices of all admissible orders up to 2000 where no such instance was previously known\. This includes one of order 668\. We have provisionally marked the problem as being solved by AI, though will revise this if further reports from the team indicate that humans contributed significantly to the core mathematical ideas\.
It is not yet clear whether the full[Hadamard conjecture](https://en.wikipedia.org/wiki/Hadamard_matrix#Hadamard_conjecture)— asking whether a Hadamard matrix exists for*all*admissible orders — has been resolved\. It is possible that this result comes from an improved search strategy, or a fully general construction\. A resolution to the full conjecture would, a priori, likely have rated as higher than “Moderately Interesting”\.
## About the problem
A[Hadamard matrix](https://en.wikipedia.org/wiki/Hadamard_matrix)is a square matrix all of whose entries are \\\(\\pm 1\\\) and whose rows are mutually orthogonal\. Beyond trivial cases, the order of such a matrix must be a multiple of four\. The Hadamard conjecture states that a Hadamard matrix exists for every such order\. It remains open\.
Mathematicians have chipped away at finding examples of Hadamard matrices of larger and larger order\. The smallest case for which no matrix is known is \\\(668\\\)\. The previous smallest unknown case was \\\(428\\\), resolved in 2004 by[Kharaghani and Tayfeh\-Rezaie](https://onlinelibrary.wiley.com/doi/10.1002/jcd.20043)\. New cases typically require somewhat clever and novel constructions\.
This problem asks for a Hadamard matrix of order \\\(668\\\)\.
## Prompt
```
Find a Hadamard matrix of order 668.
Write your Hadamard matrix to an .npy file (using `numpy.save`) and output the filepath. The matrix must be a square array of +1 and -1 entries.
```
Levent Alpöge has apparently used Claude to construct a 668x668 Hadamard matrix via an obfuscated shell script, potentially resolving the smallest open Hadamard case and all 12 unresolved orders below 2000, pending verification.
Claude, an AI model, reportedly found a counterexample to the long-standing Jacobian Conjecture, verified by multiple LLMs, sparking debate about AI's role in mathematical discovery.
Anthropic's new AI model Claude Mythos, using the Claude Code framework, reportedly solved Erdős's distinct distances problem by finding alternative simple proofs, following OpenAI's earlier disproof. This demonstrates LLMs' ability to make independent scientific breakthroughs.
An unreleased Anthropic model made significant progress on the Riemann hypothesis, using 60 subagents and 31 million tokens to test 650 ideas and improve the lower bound, with results formalized in Lean.
Anthropic's unreleased research version of Claude improved the lower bound for the fraction of Riemann zeta function zeros satisfying the Riemann hypothesis from 41.6% to 67.2%, demonstrating rapid progress in AI mathematical capabilities.