Research notes on every problem, and a library of the papers behind them. Built from the open erdos repository.
Updated
Erdős 699: finite-range prime-pair certificates
P699 research · Erdős problem 699 · Small-index bounds · Interval certificates
For each pair in the table, let and be integers, and set
The exact certificate proves
with the following thresholds. No coprimality or maximal-prime-power condition is imposed on .
| Exponent pairs after the safe filter | Exceptional minimal solutions with | Largest exceptional | ||
|---|---|---|---|---|
The checker enumerates prime-power exponents and bounded differences. Its retained output contains all these exceptional minimal solutions and their heights. The calculation does not enumerate binomial rows or columns. It supplies stronger pair inequalities throughout an already bounded range, for use in a complete interval proof. This first table makes no assertion above ; the longer range needed at index 21 is recorded separately below.
Why only minimal solutions need checking
Write , , , and more generally let the allowed difference be . The primes are distinct, so .
If , then , and hence whenever . For , every meets this condition. This also covers zero exponents. If , coprimality gives for a positive integer , so and again .
It remains to consider and a nonzero signed difference , with . There is a unique solution
The assumptions imply . Every positive solution with this difference has the form
For , we have , whereas
Consequently only can violate (1). The minimal solution for is , so testing the positive differences and these complementary solutions covers both signs.
Since and , the height cap bounds both prime powers. The retained calculation therefore includes every possible exponent: powers of , of , of , of , of , of , of , and of . Powers at most have already been handled uniformly. For all other powers the procedure tests the minimal solutions, retains only those with , and records every failure of . The threshold is the larger of and one plus the largest recorded exceptional height. This proves (1).
The exceptional records can repeat a height when that height admits several prime-power decompositions. For example, is checked in all four forms. The certificate requires no restriction that a chosen prime power be the full component of its integer.
Exact filters and modular inverses
Put and . A violating solution satisfies
Thus , and necessarily
The program rejects an exponent pair only when integer bit lengths already prove the opposite inequality. If denotes the bit length of a positive integer, then . In particular,
This is a sufficient rejection test; no approximation to logarithms is used. Similarly, proves , and proves . The first test is sometimes settled immediately by the safe bit-length comparison ; otherwise the program multiplies the integers exactly.
For a fixed , all inverses of successive powers of are computed without repeated extended Euclidean calculations. Start with , the inverse of modulo . Choose so that is divisible by , and replace
If the old is the inverse of , (6) is the inverse of modulo . Moreover is preserved. The recurrence is performed for every exponent, including powers skipped because they are at most .
Use in the interval proof
For an index , choose maximal positions in and write
Their difference is at most , their smaller height is at least , and their larger height is at most . Therefore (1) gives
Equivalently, putting , the pair contributes the exact constraint . These constraints can be combined with the existing prime-pair inequalities when bounding the small-prime part of throughout an integer interval. Coincident maximal positions are included by the argument above.
The finite-range inequalities and an independently established infinite tail have separate roles: the tail bounds the remaining rows by , and (7) strengthens the inequalities used to exclude intervals inside that bound. This note alone does not assert the completion of any particular interval partition.
To reproduce the ten certificates from the repository root:
.venv/bin/python wiki/research/erdos_699/computations/erdos_699_finite_prime_pairs.py --cap 976 --difference 24The longer range for index 21
The same proof and checker also cover differences at most and heights at most . The second retained certificate gives the following lower thresholds :
| Pair | |
|---|---|
Thus every edge in this second table applies to the selected numerator
positions of an index-21 row whenever
. The common interval cutoff
is larger and also accommodates the original explicit BFT
table. Reproduce this second table under the ignored repository tmp/
with:
mkdir -p tmp/erdos699
.venv/bin/python wiki/research/erdos_699/computations/erdos_699_finite_prime_pairs.py \
--pairs 17,19 2,17 5,17 7,17 2,3 2,5 3,5 3,7 5,7 11,13 \
--cap 1732 --difference 20 \
--output tmp/erdos699/erdos_699_finite_prime_pairs_21.jsonCompare the regenerated file with the retained one on its mathematical fields; elapsed times differ between runs.
Completing the five-prime graph for index 13
Five further certificates cover differences at most and heights at most :
| Pair | |
|---|---|
Combine these with the five pairs among already present in the index-21 table. The resulting ten edges form the complete graph on . All its one-third cofactor constraints hold for an index-13 row whenever .
The retained extra certificates
are reproduced under the ignored repository tmp/ by:
mkdir -p tmp/erdos699
.venv/bin/python wiki/research/erdos_699/computations/erdos_699_finite_prime_pairs.py \
--pairs 2,7 2,11 3,11 5,11 7,11 --cap 1732 --difference 12 \
--output tmp/erdos699/erdos_699_finite_prime_pairs_13_extra.jsonCompare the regenerated file with the retained one on its mathematical fields; elapsed times differ between runs.