The Twin Constant: Digit Equivalence, Certified Neighbours, and the Holonomic Dichotomy ()
1. Introduction
The twin prime conjecture asserts that there are infinitely many primes
such that
is also prime. Brun proved in 1919 that the sum of the reciprocals of the twin primes converges, so that the twins, if infinite, are sparse among the primes [1]; Hardy and Littlewood conjectured in 1923 the asymptotic count
with the twin singular series
[2]. Sieve methods have since approached the conjecture from two sides. Chen proved in 1973 that infinitely many primes
have
prime or a product of two primes [3]; Zhang proved in 2014 that infinitely many pairs of primes differ by a bounded amount [4], and Maynard [5] and the Polymath project [6] reduced the bound to 246, with 6 under the generalized Elliott-Halberstam hypothesis. The obstruction that stops every sieve short of the twins themselves is the parity phenomenon identified by Selberg: a sieve of the classical type cannot distinguish integers with an even number of prime factors from those with an odd number, and so cannot produce primes from almost primes [7] [8].
This paper takes a different route to the same wall. Rather than counting twin primes, it encodes them: as the digits of a real number in the factorial base, as the Taylor coefficients of an entire function, and as residues in the arithmetic of imaginary quadratic fields and elliptic curves. The encodings are exact, and in each the conjecture becomes a classical property of a single object. The elementary fact behind the first encoding is that a real number whose factorial base digits are bounded is rational if and only if its expansion terminates; applied to the twin constant
this gives, in Section 2, the equivalence of the conjecture with the irrationality of
. The same fact applied to supports whose infinitude is a theorem, the Chen support, the shifted primes stratified by the number of prime factors of
, and the Maynard support, yields in Sections 3 to 5 a family of unconditionally irrational constants surrounding
, and the exact relations among them show that any rational linear relation between two of the rungs would decide the conjecture. Section 6 moves to generating functions: by the theorem of van der Poorten and Shparlinski on linear recurrences with polynomial coefficients [9], the entire function
is holonomic if and only if the twins are finite, and the Pólya-Carlson theorem [10] [11] places the natural boundary of
on the same footing. Sections 7 and 8 record two arithmetic faces of the twin condition: the odd double factorial of the lower twin, reduced modulo the upper, carries the class number of
through Mordell’s theorem [12], and the quartic twist
has root number equal to the quadratic character of −1 at the lower twin by the formula of David, Devin, Fazzari and Waxman [13]. Section 9 reads Wilson’s theorem and Clement’s criterion [14] as a bounded two-letter deviation alphabet in which twinhood is one of four states. Section 10 tabulates the constants in the two possible worlds, and Section 11 records, as a proposition on admissible patterns, why no local obstruction to the twins exists.
None of the encodings proves the conjecture, and the paper is explicit about why: each converts the twin condition into a statement whose proof would require a lower bound on the twin support, which is exactly what the parity phenomenon withholds. What the encodings provide is a precise map of the neighbourhood of the conjecture, in which every adjacent constant and every adjacent state is settled and the conjecture stands alone.
2. The Twin Constant
Throughout,
runs over the lower members of the odd twin prime pairs
:
. Define
(1)
and its complement in
,
(2)
where the twin places are the integers
. The factorial base is the tool: every real
in
has a unique expansion
with integer digits
not eventually maximal, and a number with bounded digits is rational if and only if its expansion terminates. The series (1) is such an expansion with digits in
, a one at each twin place, and nowhere else.
Theorem 2.1 (the digit equivalence).
is irrational if and only if there are infinitely many twin primes.
Proof. If finitely many,
is a finite sum of rationals. If infinitely many, the expansion (1) has infinitely many nonzero bounded digits and does not terminate, so
is irrational. □
Theorem 2.2 (the complement).
is irrational unconditionally.
Proof. The expansion (2) has digit one at every non twin place, a set containing all odd
; it never terminates. □
The two theorems exhibit a conservation law that governs every constant below: a constant of this type is either unconditionally irrational and silent about the twins, or equivalent to the conjecture and only conditionally irrational, and never both. Any finite rational linear relation among twin supported constants proves nothing, since a finite twin world rationalizes all of them simultaneously; irrationality must enter from outside, and when it does it lands on the complement.
3. The Chen Constant
Chen proved in 1973 that there are infinitely many primes
such that
is prime or a product of two primes [3].
Theorem 3.1 (the Chen constant). Let
(3)
Then
is irrational.
Proof. The support is infinite by Chen’s theorem [3], and the factorial expansion has digits in
at the places
. □
Any constant of this type supported on a set that contains the twin places and is known to be infinite is irrational by the same argument, the prime constant
of the next section being the simplest example. What distinguishes the Chen constant is the thinness of its support: Chen’s theorem gives the thinnest support containing the twin places on which infinitude is a theorem, one sieve step from the twins themselves, so that
is the nearest certified irrational neighbour of
. Writing
for the semiprime branch,
exactly, so at least one of
,
is irrational, and
rational would force the twin branch infinite by Chen’s theorem [3]. Both branches are open; Goldston, Graham, Pintz and Yildirim grade the infinitude of the semiprime branch as of the same difficulty as the twin conjecture [15].
4. The Ladder of Tails and the Crown
Stratify the prime places of
by the factor count
of the upper:
(4)
so that
and
is the prime constant.
Theorem 4.1 (the ladder of tails). Every tail
is irrational.
Proof. The support of
is all primes. For
the primes
are infinite by Dirichlet’s theorem on primes in arithmetic progressions [16], since
, and every such prime has
, hence
. So the support of
contains an infinite set of prime places, the digits of
are bounded, and the expansion does not terminate. □
The supports are in fact much larger than the proof uses. The normal order of
over primes
is
, a theorem of Erdős for
[17] extended by Halberstam to the Erdős-Kac law for
over primes [18]; hence for each fixed
the primes with
have full density among the primes. The theorem needs only infinitude, which Dirichlet supplies directly.
The crown identity
pins the twin constant as the difference of two certified irrationals; the statuses do not subtract, but the pair is maximally entangled with the conjecture:
Theorem 4.2 (the dependence dichotomy). Let
be rational with
. If
then: if
the twins are infinite; if
they are finite.
Proof. Substituting
gives
. If
and
were rational,
would be rational, contradicting Theorem 4.1; so
is irrational and Theorem 2.1 applies. If
the relation reads
, so
is rational. □
In particular
rational would imply the conjecture. Numerically
, and no integer relation among
exists with coefficients below 108, nor any bilinear relation below 107, nor any algebraic relation of degree at most four with coefficients below 106, at sixty digits.
5. The Maynard Constant and the Filtration
Maynard [5] and the Polymath project [6] proved that infinitely many pairs of primes differ by at most 246.
Theorem 5.1 (the Maynard constant). For
the constant
(5)
is irrational.
Proof. The support is infinite by [5] and [6]; the digits are bounded. □
The family
is increasing in
and
exactly, since a gap of at most two is a gap of two. Irrationality is proven at
, holds at
under the generalized Elliott Halberstam hypothesis, and the twin prime conjecture is the statement that the frontier descends to
. The constants fuse numerically: the truncated Maynard constant, the odd prime constant, and the Chen constant agree to fifty one decimal places, separating first at
(the prime 43, whose upper
Chen rejects and Maynard keeps), three distinct theorems minting three provably distinct irrationals that no computation can tell apart.
6. The Holonomic Dichotomy
The twin support assembles into an entire function of exponential type,
(6)
even, since every
is divisible by six beyond the primordial four, hence a subseries of
.
Theorem 6.1 (the holonomic dichotomy).
satisfies a linear differential equation with polynomial coefficients if and only if the twins are finite. Equivalently, the twin prime conjecture is the non holonomicity of
.
Proof. If the twins are finite,
is a polynomial. Conversely suppose
is holonomic, so that its Taylor coefficients
are P recursive. Multiplying a polynomial recurrence for
through by
turns it into a polynomial recurrence for
, since
is a polynomial in
. Thus the ordinary generating function of the twin indicator, whose coefficients lie in the finite set
, is D finite, and by the theorem of van der Poorten and Shparlinski on linear recurrences with polynomial coefficients it is rational [9]; so the indicator is eventually periodic. An eventually periodic indicator with infinitely many ones places an infinite arithmetic progression
inside the twin lowers, and the term with index
, namely
, is composite. Hence the ones are finite. □
Two analytic faces follow; the first is conditional and the hypothesis is stated explicitly. The Poisson weighted twin density is
, a weighted count of twin places in which the weight
is concentrated on
for any
. Its asymptotic behaviour is therefore governed not by the global count
but by the count of twin pairs in intervals of length about
around
. The relevant hypothesis is the Hardy-Littlewood conjecture in short intervals [2] [19]: for every
,
uniformly for
, where
is the twin singular series. Under this hypothesis
. In the holonomic world, by contrast,
is a polynomial and
collapses like
. More generally, holonomic entire functions of exponential type have asymptotics of the form
with
a non negative integer (Birkhoff and Trjitzinsky [20]), so a decay like an inverse square of the logarithm is impossible for a holonomic
; this gives a second, conditional, route to Theorem 6.1, which itself is unconditional. The second face is unconditional: by the theorems of Pólya [10] and Carlson [11], the ordinary generating function
, having integer coefficients and radius one when the twins are infinite, is either rational or has the unit circle as a natural boundary, so the conjecture is also the natural boundary of this series. The attack on either face stalls at a lower bound on the Poisson density, which is a lower bound on twins: the parity phenomenon of sieve theory [7] [8]. The continued fraction of
is Gauss-Kuzmin generic at 1394 partial quotients (every quotient class within one and a half standard deviations of the law), the profile expected of an irrational number.
7. The Class Number Reading
Write
with
. Wilson’s theorem squared through this split gives the odd Wilson law
: for
the odd double factorial is a square root of minus one, and for
,
, its sign is read by a theorem of Mordell [12],
,
the class number of
. Every twin pair has one member in each class modulo four.
Theorem 7.1 (the class number reading). At every twin pair with upper
,
(7)
Proof. Wilson at
gives
, hence
since
. With
by Euler’s criterion, the split gives
. Mordell at
gives
, and
, so
. Substituting yields (7). □
Verified at all thirty one such pairs to two thousand with computed class numbers, the twin class sequence opening 1, 1, 3, 1, 5, 3, 7, 9, 11, 3, 7, 5. A first consequence is that every twin upper
has
, since the partner’s primality forces
; and in the same way
prime forbids
for every odd prime
, which biases
: for
the value +1 occurs with frequency exactly 2/3 among twin uppers, for
with frequency exactly 3/5, against 1/2 for primes at large. By Dirichlet’s class number formula
for prime
,
, these biases are tilts of the Euler factors
of
and must show in its mean.
We measured this with a defined comparison. The population is all primes
with
, of which there are 9004; the subpopulation is the 1066 among them that are twin uppers. The statistic is the sample mean of
over each set, with the standard error of the mean; the ratio of the two means carries the error propagated from both. The stripped statistic multiplies each
by
, removing the Euler factors at 3, 5, 7. Table 1 reports the results.
Table 1. Mean of
: twin uppers against all primes
below 200,000, with standard errors.
Statistic |
All primes (9004) |
Twin uppers (1066) |
Ratio twin/all |
mean of
|
1.6363 ± 0.0121 |
1.1916 ± 0.0215 |
0.728 ± 0.014 |
mean after stripping
|
1.3737 ± 0.0077 |
1.3665 ± 0.0223 |
0.995 ± 0.017 |
predicted ratio from local tilts |
— |
— |
0.731 |
The twin uppers show a deficit of 27.2 ± 1.4 percent in the mean of
. The deficit is predicted by the three local tilts alone: the expected Euler factor at 3 is 3/4 on twin uppers against the generic mean 9/8, a ratio of 2/3; at 5 the expected factors are
against 25/24, a ratio of 1.0667; at 7 they are
against 49/48, a ratio of 1.0286; and the product 0.731 matches the measured 0.728 ± 0.014. After stripping these three factors the ratio is 0.995 ± 0.017, consistent with unity within one standard error; the residual tilts at primes
are each of relative size
and are not resolved at this sample size. Thus the Hardy-Littlewood singular series appears, factor by factor, as Euler factor tilts of
over the twin uppers.
8. The Twin Twists and the Root Number Law
The quartic twists
have complex multiplication by
, and for odd fourth power free
their
function is that of a quartic Hecke character; David, Devin, Fazzari and Waxman compute the root number explicitly [13]:
times +1 if
and −1 if
. The twin twists
have
odd and squarefree, hence admissible.
Theorem 8.1 (the root number law). For every twin pair with
,
(8)
Consequently every twist with
has odd analytic rank, hence analytic rank at least one, every twist with
has even analytic rank, and the average analytic rank of the family is at least the proportion of pairs with lower member three modulo four. The parity of the analytic rank is all that the root number determines; analytic rank exactly one, and the rank of the Mordell-Weil group, are not established by it.
Proof.
is squarefree, so
, and
always, so the first factor is
. If
then
and the bracket is
; if
then
and the bracket is +1. Root number −1 forces
by the functional equation, so the order of vanishing is odd. □
Verified at all 8168 pairs from 5 to a million: 4046 with even analytic rank, 4122 with analytic rank forced odd, the lower bound
on the average analytic rank essentially the minimalist value one half. The law predicts rational points that integer point searches miss, and the two descent finds them: with
the descent quartic
splits as
, and the split
,
gives the equation
(9)
yielding the point
on
at
and the point with
on
at
; the full descent over the eight signed divisors of
gives points with
on
and
on
. Each of these is a rational point of infinite order, since the torsion of
for
neither a square nor the negative of a square consists of the point at infinity and
, and none of the points found has
. Whether a given point generates
is a separate question: when the analytic rank is exactly one, the theorems of Gross and Zagier [21] and Kolyvagin [22] give Mordell-Weil rank one, and the exhibited point is then a generator up to a finite index that a saturation computation must determine; neither the analytic rank one nor the saturation has been certified here for any particular pair. The minimalist conjecture predicts analytic rank exactly one for almost all pairs with lower member three modulo four.
9. The Deviation Alphabet
For odd
let
and
, the Wilson residue at the lower seat and the residue of Clement’s twin criterion at the upper [14].
Theorem 9.1 (the bounded section).
with
iff
is prime, and
with
iff
is prime. The pair takes exactly four states, twinhood being
.
Proof. For composite
,
; for composite
with factors
,
so
. Wilson’s theorem and Clement’s criterion give the prime cases. □
Theorem 9.2 (three letters). The states
,
,
each occur infinitely often, by the progression
, by Dirichlet on primes
, and by Dirichlet on primes
with
respectively. The state
is the twin prime conjecture.
The deviation vector of the Wilson point is bounded absolutely by
at every station while its coordinates grow factorially; the four states are equally small, so twins are not a nearer approach to the lattice but a different symbol, and compositeness being certified by congruence while primality must be supplied one at a time by theorem, a state is provable exactly when it demands at most one primality. The additive encoding of the deviations,
with
, is irrational unconditionally and equals
with no twin term, the twin condition being the product of the two seat indicators.
10. The Two Worlds
Table 2 collects the constants in the two possible worlds.
Table 2. The constants in the two worlds.
Constant |
Twins infinite |
Twins finite |
|
irrational |
rational, a finite sum |
|
irrational |
irrational |
|
irrational |
irrational |
|
open |
irrational, forced by Chen |
|
irrational |
irrational |
|
irrational |
irrational |
|
non holonomic |
a polynomial |
|
irrational |
irrational |
11. Concluding Remarks
We close by recording, in the language of the subject, the one structural fact that bears on the possibility of a finite twin world. For a set
of integers, let
denote the number of distinct residue classes modulo
occupied by
; the set is admissible if
for every prime
[2] [23]. The singular series of
is
.
Proposition 11.1. The product
converges, and
if and only if
is admissible. If
is not admissible, then
are simultaneously prime for at most finitely many
. The twin pattern
is admissible, with
.
Proof. For
one has
and the factor is
, so the product converges; it vanishes exactly when some factor vanishes, that is when
for some
. If
then for every
some
is divisible by
, so all
values can be prime only if one of them equals
, which bounds
. For
one has
and
for
, and the product is
. □
Thus a covering congruence, the only mechanism that is known to force finiteness for a pattern of primes, is excluded for the twin pattern by the positivity of
, and the Hardy-Littlewood conjecture asserts that no other mechanism exists [2]. The theorems of this paper convert the conjecture into the irrationality of one number (Theorem 2.1), the non holonomicity of one entire function (Theorem 6.1), the natural boundary of one power series (Section 6), and the recurrence of one state of a four-state alphabet (Theorem 9.2); they settle every neighbouring constant and every other state, and leave the conjecture itself intact. The parity phenomenon of sieve theory [7] [8] is, in every one of these encodings, the obstruction to a lower bound on the twin support.
Collaboration statement. The exploration, computations and drafting were carried out in collaboration with Claude, an AI model developed by Anthropic; the author is responsible for the mathematical content and all claims.