Yagel Numbers

The Mersenne × Primorial Grid

A Yagel number of order k and exponent n pushes the sieve idea behind Mersenne numbers ("exclude divisibility by 2") to its logical extreme:

Yk(n)=pk1#pkn1=235pk1pkn1,k,n1

where pk is the k-th prime and pk1# the primorial of its predecessor. Both constants are dictated by the prime sequence itself — the family has no free parameters and is indexed purely by the lattice point (k,n). Two classical families appear as the boundary of the grid: row k=1 consists of the Mersenne numbers 2n1, and column n=1 of the primorial numbers pk#1. The companion face Yk+(n)=pk1#pkn+1 (the second kind) carries the Euclid and Fermat forms on its edges.

Three structural properties follow from that coupling. First, Yk(n)1(modq) for every prime qpk: the maximal built-in small-prime sieve for the base. Second, for k2 no exponent is ever disqualified by an algebraic factorization, in contrast to the Mersenne row, where composite exponents cannot give primes. Third, Yk(n)+1 is completely factored by construction, so a deterministic primality proof is available at every cell of the grid. The second property concerns factorizations in the exponent only; it does not show that any row contains infinitely many primes.

A proof for every prime in the grid

Because one neighbor of Yk(n) is completely factored, the classical criteria apply at every cell: the Lucas N+1 test on the minus face, and Pocklington's N1 test on the plus face. Each produces a proof rather than a probability, at roughly the cost of three probable-prime tests. Within the grid this takes a particularly compact form: in the size regime stated in the paper, and given a successful seed, primality is decided by a single V-only Lucas ladder — an n-fold iteration of the degree-pk Chebyshev-type map xVpk(x), of which the classical Lucas–Lehmer iteration xx22 is the k=1 case. Criteria of this kind for Kpn±1 are classical; what the grid contributes is that the hypothesis they all need — a completely factored neighbor — is supplied at every cell by construction, so no cell is excluded for want of a factorization. The rest of each criterion's hypotheses still have to be met: the single ladder applies in the size regime stated in the paper and needs a seed that succeeds, and outside that regime a multi-factor argument is used. A value is published as prime only when the applicable criterion returns a certificate, never on the strength of a probable-prime test.

Applied across the grid, this has produced a catalogue of 5,751 proven Yagel primes — 2,889 on the minus face and 2,862 on the plus face. The largest is p5#1344763+1, of 49,867 decimal digits. 31 cells are prime on both faces at once, giving twin primes in which each member has a completely factored neighbor. Explore any cell of the grid on the datasets page, which computes the exact value in your browser.

The structure theory, the primality criteria and the computational results are set out in the living edition of the paper.