QUANTAVANE

Coding theory · open

Covering the five-digit primes by one-digit changes.

Best known value: 1219 (minimize), held by Quantavane (Arhan Canli) since 9 November 2026.

The problem

Two n-digit primes are neighbours when they differ in exactly one digit (the leading digit stays nonzero), as in a word ladder: 10007 and 10009, or 10007 and 10607. A covering code of radius 1 inside the n-digit primes is a set C of n-digit primes such that every n-digit prime is in C or is a neighbour of a prime in C. Let c(n) be the smallest size of such a code. The headline cell is n = 5, the 8,363 five-digit primes: find a covering code with fewer than 1,219 primes.

Why it is interesting

Covering codes ask for the fewest words such that every word of a space is within a given distance of one of them; in the Hamming spaces they are the football-pool problem and its relatives (Cohen, Honkala, Litsyn and Lobstein 1997). Restricting the space to the primes makes the neighbourhoods irregular: a five-digit prime has between 1 and 16 prime neighbours, and primes that agree except in one place form cliques, which makes packing arguments weak. Primes with no prime neighbour at all, the digitally delicate primes, would have to belong to every code; Tao (2011) proved that a positive proportion of primes are digitally delicate, and the smallest one is 294001, so the five-digit primes have none. A fractional count gives c(5) >= 686 (every prime needs a code prime among its neighbours, and a code prime covers at most 17 primes); the best code found has 1,219 primes, and the gap is open.

Is it new?

New question: covering codes of Hamming spaces and digitally delicate primes are studied; no result was found on covering codes inside the primes with the digit (Hamming) distance.

Checked 9 November 2026, before the problem was added: 5 arXiv searches, 4 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.

First values

First values
n (digits)n-digit primessmallest code foundhowfractional lower bound
2214exact (every set of 3 fails)3
314322best known (ours)14
41061154best known (ours, local search, 15 s)93
583631219best known (ours, local search, 300 s)686

Lower bound: the sum over all n-digit primes u of 1/(largest closed neighbourhood among u and its neighbours), rounded up. Codes from tools/src/dominate.c. Rows improved on 10 November 2026 show the value of the cell (see Cells).

Cells

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

Cells
CellnValueStatus
prime-cover-224exact
prime-cover-3322best known
prime-cover-44154best known
prime-cover-551219best known (headline)
prime-cover-6610359best known

Exact cells: every set of 3 two-digit primes fails (the table of 9 November 2026). Best known cells: greedy construction, then iterated removal of one to three code primes, greedy repair and pruning (tools/src/dominate.c on the graph of tools/prime_graph.py); an upper bound.

Best known value

1,219 primes, held by Quantavane (Arhan Canli), 9 November 2026: the code in `refs/prime-cover.txt`. Lower bound 686 (fractional count).

Bound on the other side: 686 (lower bound; the sum over the five-digit primes u of 1/(largest closed neighbourhood among u and its neighbours) is 685.95).

Check a solution

Text file: the five-digit primes of the code, separated by spaces or newlines. Score: the number of primes in the code (smaller is better).

git clone https://github.com/arhancanli/quantavane-benchmark
cd quantavane-benchmark
python3 -I obb.py check prime-cover 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