An Infinite Family of Apéry-like Recurrences for Euler's Constant
Rotem Kalisch, Tali Monderer, Elyasheev Leibtag, Shachar Weinbaum, Michael Shalyt, Ido Kaminer
1 Abstract
Euler’s constant γ, also known as the Euler–Mascheroni constant, remains one of the most elusive constants in mathematics. Despite extensive study, its irrationality is still unproven, and Apéry-like approximations of it are remarkably scarce.
We present a novel identity that expresses γ in terms of a Meijer G-function and its first few derivatives. This identity is then generalized and used to systematically generate infinitely many Apéry-like approximations of γ using a Conservative Matrix Field construction based on the Meijer G-function.
2 Introduction
The study of Diophantine approximations has long been motivated by the desire to understand the arithmetic nature of fundamental constants. Among the various tools used in related research, Apéry-like approximations (sequences generated by a linear recurrence with polynomial coefficients, also known as holonomic sequences, D-Finite sequences or P-Recursive sequences [1; 2; 3]) have dominated the field in recent years. Their appeal stems from their connection to linear differential equations, for which many results regarding generating functions and asymptotics have been discovered.
A landmark example is Apéry’s proof of the irrationality of ζ(3), which involved a fast converging holonomic sequence [4; 5]. Inspired by this success, researchers have sought similar sequences that converge to other constants of interest [6; 7; 8; 9; 10]. Indeed, for fundamental constants such as e, π, ζ(2), and ζ(3), many such sequences are known and their irrationality has been rigorously proven.
Despite a large effort by the mathematical community, Euler’s constant γ [11; 12; 13] remains notoriously elusive. Not only is there no proof of its irrationality, but there are also very few known Apéry-like recurrences capable of approximating it in a similar manner [14; 15; 16].
A foundational result in the study of Euler’s constant γ, also involving the Gompertz constant δ, was established by Shidlovskii [17; 18], who studied algebraic independence of E-function values and, as a corollary, proved that at least one of these constants must be irrational. This result was improved by Rivoal, who showed that at least one of them is transcendental [19].
A significant advancement by Aptekarev [20; 14] yielded the first Apéry-like approximation for γ in the form of a third-order recurrence. The same recurrence also approximates δ using a different ratio of two linearly independent solutions.
Rivoal [16] then developed a different approximation based on simultaneous Padé approximants, constructing a third-order Apéry-like recurrence for γ+log(x), in particular recovering Euler's constant when x=1. He also constructed a sixth-order recurrence giving simultaneous rational approximations to γ and ζ(2)−γ2.
Concurrently, Hessami Pilehrood and Hessami Pilehrood [15] studied related constructions and gave a Meijer G-function formulation, producing a second-order inhomogeneous linear recurrence that similarly converges to γ or δ.
In his survey on γ, Lagarias [21] emphasizes the novelty of these constructions: only these explicit holonomic recurrences converging to γ are known in the literature.
In this work, we propose and demonstrate a systematic approach for generating holonomic sequences that converge to γ, enabled by a unique connection between the Meijer G-function and γ.
By applying the contiguous relations of the Meijer G-Function we construct a Conservative Matrix Field (CMF) [22; 23] of rank r∈Z≥3 and dimension d=2r−1. The CMF serves as a generator with an infinite parameter space, where every choice of source and trajectory s,t∈Zd yields a Trajectory Matrix Ms,t(n)∈GLr(Q(n)) that represents a linear difference system.
We derive two initial value vectors pr,qr∈Zr using a novel identity between the Meijer G-function and γ, and construct an infinite family of trajectories T3∗⊂Z5 such that for any trajectory t∈T3∗ and for any generic vector v∈Rr, the dual limit of the CMF (section 3) satisfies:
where the transition matrix of M(n)∈GLr(Q(n)) is denoted by ΦM(n):=M(0)⋯M(n−1).
We additionally propose a broader family of trajectories Tr for arbitrary rank r≥3, containing T3∗ when r=3, whose convergence is conjectured and supported by numerical evidence.
Our evaluation at the origin is achieved through the composition of two mechanisms, operating on the state vector of the CMF, denoted Sr(s), at the origin:
The Algebraic Component (section 5): We derive two initial value vectors pr,qr∈Zr such that
qrTSr(0)prTSr(0)=γ.
The Dynamical Component (section 7): For any trajectory t∈T3∗ and generic vector v∈Rr, the dual system of the trajectory matrix isolates the initial state vector Sr(0) up to scaling. More precisely, there exists a sequence cn∈R∖{0} such that
n→∞limcnΦM0,t(n)−Tv=Sr(0).
For example (derived in section 8), the linear difference system xn+1T=xnTM(n) defined by
and initialized by a generic seed (such as vT=(001)) satisfies
n→∞lim[111101]⋅ΦM(n)−T⋅v∝[γ1].
Each linear difference system can then be converted into an Apéry-like recurrence of order r using the cyclic vector method [24], for which a gauged set of initial values yields the same approximation.
Even though empirical analysis indicates that the convergence of our approximations is insufficient to yield an irrationality proof for γ, we hope that broadening the space of such sequences and analyzing their matrix properties may ultimately contribute to a proof of the irrationality of γ.
The construction presented in this paper is summarized in a four-stage symbolic algorithm (fig. 1), which transforms analytic contiguous relations into discrete dynamical systems.
Construct a CMF for the Meijer G-function of rank r≥3 (section 6).
Derive the initial values pr,qr∈Zr (section 5).
Choose a trajectory t∈Tr (section 7).
Convert Ms,t(n)−T into a holonomic sequence using the cyclic vector method (definition 10).
Figure 1: The symbolic algorithm for generating holonomic sequences converging to γ.
3 Background and Notation
3.1 Special Functions
Definition 1. Euler's constant, also known as the Euler-Mascheroni constant, is defined as [21]:
γ=−∫0∞e−xlnxdx=0.57721...
Definition 2 (Gamma Function). The gamma function Γ(z) is defined for Re(z)>0 by
Γ(z)=∫0∞tz−1e−tdt.
It extends meromorphically to the complex plane, satisfying Γ(z+1)=zΓ(z), and more specifically Γ(n)=(n−1)! for any n∈N. It has simple poles at the non-positive integers.
Definition 3 (Digamma and Trigamma Functions). The digamma function is the logarithmic derivative of the gamma function:
ψ(z)=dzdlogΓ(z)=Γ(z)Γ′(z).
Its derivative ψ1(z)=ψ′(z) is called the trigamma function.
Lemma 1 (Gamma Asymptotics). Uniformly as ∣z∣→∞ in any closed sector avoiding the negative real axis, the principal branch of the logarithm satisfies
logΓ(z)=(z−21)logz−z+21log(2π)+O(z−1).
Consequently,
logΓ(z)=zlogz−z+O(log∣z∣),ψ(z)=logz+O(z−1),
and
ψ1(z)=z−1+O(z−2).
Moreover, for fixed σ in a bounded interval,
∣Γ(σ+it)∣=O(∣t∣σ−21e−2π∣t∣)(∣t∣→∞).
Proof. These are the standard Stirling, digamma, and polygamma asymptotic estimates; see [25, Section 5.11(i); 25, Section 5.15].
Definition 4 (D-finite function). Let K be a differential field. A function f(x) is called D-finite (or holonomic) over K if there exist polynomials p0(x),…,pr(x)∈K[x], not all zero, such that
p0(x)f(x)+p1(x)f′(x)+⋯+pr(x)f(r)(x)=0,
for some r∈N0. The minimal such r is the order of f.
Definition 5 (Meijer G-function). Let m,n,p,q∈N0 such that 0≤n≤p and 0≤m≤q.
The Meijer G-function [25, §16.17, Eq. (16.17.1); 26, §5.8] is a special function defined by the following contour integral:
Where Γ(n) is the gamma function. The choice of contour L depends on the specific parameters of the G-function (see Fig. 2, adapted from the NIST Digital Library of Mathematical Functions (DLMF), Fig. 16.17.1, Release 1.2.4 (2025-03-15)). There are three options for the contour, and the definition dictates to choose the contour for which it converges (if it converges for more than one, then the different options agree):
L goes from −i⋅∞ to i⋅∞; the integral converges if p+q<2(m+n) and ∣argz∣<(m+n−21(p+q))π.
L is a loop source at infinity on a line parallel to the positive real axis, encircling the poles of Γ(bℓ−s) once in the negative sense and returning to infinity on another line parallel to the positive real axis; the integral converges for all z=0 if p<q, and for 0<∣z∣<1 if p=q≥1.
L is a loop source at infinity on a line parallel to the negative real axis, encircling the poles of Γ(1−aj+s) once in the positive sense and returning to infinity on another line parallel to the negative real axis; the integral converges for all z if p>q, and for ∣z∣>1 if p=q≥1.
(a) Case (i)
(b) Case (ii)
(c) Case (iii)
Figure 2: Contours L in the s-plane for the integral representation of the Meijer G-function. (i) A vertical contour separating the poles of Γ(bj−s) and Γ(1−aj+s), used when p+q<2(m+n). (ii) A contour looping around the poles of Γ(bj−s) (negative orientation), used when p≤q. (iii) A contour looping around the poles of Γ(1−aj+s) (positive orientation), used when p≥q. In each case, the contour is chosen so that the integral converges, and different valid choices yield the same function. Adapted from the NIST Digital Library of Mathematical Functions, Fig. 16.17.1.
The Meijer G-function is D-finite. It satisfies the following differential equation:
Definition 6 (Linear Difference System). Let r∈N. A homogeneous first-order linear difference system is defined by the recurrence relation:
x(n+1)T=x(n)TM(n),n∈Z
where x(n):Z→Cr is the solution at step n, and M(n):Z→GLr(Q(n)) is a rational invertible matrix 1.
Definition 7 (Transition Matrix). The transition matrix is defined as the following product:
ΦM(n):=M(0)⋅M(1)⋅⋯⋅M(n−1)
The solution of the linear difference system at step n is then given as x(n)T=x(0)T⋅ΦM(n), where x(0) is the initial values vector at step 0.
Definition 8. The dual system of a linear difference system defined by M(n) is the linear difference system defined by M(n)−T. Its transition matrix satisfies
1Most sources define systems using column vectors and left-sided multiplication: x(n+1)=M(n)x(n). These definitions are equivalent up to a transpose operation
Definition 9 (Holonomic Sequences and Apéry-like Recurrences). Let K be a field of characteristic zero. A sequence p:Z→Q is said to be holonomic of order r if there exist polynomials a0(n),…,ar(n)∈K[n] with a0(n)=0 and ar(n)=0 such that for any n≥0:
i=0∑rai(n)p(n−i)=0.
The recurrence it satisfies is called an Apéry-like recurrence (or a P-recursive equation).
Remark 1. An Apéry-like recurrence ∑i=0rai(n)p(n−i)=0 can be represented using a companion matrix form:
Corollary 1 (Reduction to First-Order System). Every Apéry-like recurrence of order r can be interpreted as a first-order matrix system of dimension r defined by its companion form matrix.
Definition 10 (Cyclic Vector Method). Given a matrix M(n)∈GLr(Q(n)) defining a linear difference system, the cyclic vector method uncoupling algorithm [27, Theorem B.2] finds a matrix U(n)∈GLr(Q(n)) such that
C(n):=U(n)−1M(n)U(n+1)
is a companion form matrix representing an Apéry-like recurrence, where the rightmost column is made of rational functions in n.
If U(n) is regular and invertible at every n∈N0, the two systems are gauge-equivalent along the entire forward orbit, and their transition matrices satisfy
ΦC(n)=U(0)−1ΦM(n)U(n).
Definition 11 (Formal Solutions and Asymptotic Ordering). Let r∈N and M∈GLr(Q(n)). By the classical asymptotic theory of linear difference equations [28; 29; 30, §2.4], the system
x(n+1)T=x(n)TM(n)
admits r linearly independent formal generalized-series solutions u1(n),…,ur(n) of Birkhoff-Trjitzinsky type, with
We order these formal solutions by their asymptotic magnitude so that
∥ui+1(n)∥=O(∥ui(n)∥)foralli∈{1,…,r−1}.
Moreover, there exists a basis of linearly independent solutions x1(n),…,xr(n) satisfying
xi(n)∼ui(n),i∈{1,…,r}.
The solution x1(n) is termed a dominant solution, while xr(n) is termed a recessive solution.
Remark 2 (Asymptotics of Apéry-like Recurrences). Since every Apéry-like recurrence of order r corresponds to a companion system of dimension r (Corollary 1), the same asymptotic theory applies directly to scalar recurrences.
The algorithmic construction of these expansions - determining the precise values of the exponential growth rates, algebraic factors, and logarithmic terms - is well-established. We refer to the foundational work by Wimp and Zeilberger [31], the Asymptotics package developed by the RISC group [32], and our ramanujantools package [33] for the effective computation of these expansions in the scalar case.
Definition 12 (Generic Vector). Let x(n+1)T=x(n)TM(n) be a linear difference system of dimension r, with x1(n),…,xr(n) a basis of sequence solutions ordered by asymptotic magnitude, and suppose the first k solutions span its dominant asymptotic subspace.
Every v∈Cr admits a unique decomposition v=∑i=1rcixi(0).
We say that v is generic to the system if (c1,…,ck)=0.
Definition 13 (Unique Recessive Asymptotic). Let r∈N,M∈GLr(Q(n)) and consider the linear difference system:
x(n+1)T=x(n)TM(n)
Denote the formal solutions of the system as u1(n),…,ur(n), ordered by their asymptotic growth such that for all i∈{1,…,r−1}:
∥ui+1(n)∥=O(∥ui(n)∥)asn→∞.
The system admits a unique recessive asymptotic if the last basis solution is strictly dominated by all others:
n→∞lim∥ui(n)∥∥ur(n)∥=0,∀i∈{1,…,r−1}.
Lemma 2 (Dual Convergence Criteria). Let r∈N,M(n)∈GLr(Q(n)). Assume the primal system admits a unique recessive asymptotic ur(n), and let xr(n) be a corresponding sequence solution satisfying
xr(n)∼ur(n).
Let ΦM(n)=M(0)⋯M(n−1) be the transition matrix. Then, for any vector v∈Cr generic to the dual system, the forward iteration of the dual system isolates the initial state xr(0) up to scaling. That is, there exists a sequence cn∈C∖{0} such that
n→∞limcnΦM(n)−Tv=xr(0).
Proof. This convergence behavior is the geometric mechanism underlying the stability of backward recurrence algorithms, such as Miller's algorithm [34]. As established in the general analysis of these algorithms, the asymptotic hierarchy of the formal solutions inverts in the dual difference system. If a primal difference system admits a unique recessive asymptotic, this minimal solution manifests as the dominant solution of the dual system.
The explicit proof that the transition matrix of the dual system isolates the initial values of the unique recessive solution is derived in [35, Section 2].
3.3 The Conservative Matrix Field
Definition 14 (Conservative Matrix Field). Let d,r∈N. A Conservative Matrix Field (CMF) of rank r and dimension d is defined by rational basis matrices
Me1(p),…,Med(p)∈GLr(Q(p)),p∈Zd,
satisfying the conservation property for any lattice point p∈Zd in which they are defined:
Remark 3. CMFs are a discrete equivalent of conservative vector fields. The formal definition of CMFs is a discrete equivalent of potential, while the basis matrices M1,…,Md are the discrete equivalent of the gradient, often more convenient for algorithmic use.
Remark 4. We denote the negative basis matrices as M−ei(p)∈GLr(Q(p)), and they satisfy
M−ei(p)⋅Mei(p−ei)=I,Mei(p)⋅M−ei(p+ei)=I
therefore,
M−ei(p)=Mei(p−ei)−1,Mei(p)=M−ei(p+ei)−1
Additionally, M0(p)=Ir vacuously.
Definition 15 (Trajectory Matrix). Let M be a CMF and let s,t∈Zd (representing a source point and a trajectory). A Trajectory Matrix Ms,t(n)∈GLr(Q(n)) is defined as the (only) matrix satisfying Ms+n⋅t⋅Ms,t(n)=Ms+(n+1)⋅t
Calculating Ms,t(n)
Input:
CMF basis matrices {Mei}i=1d
source, trajectory s,t∈Zd
Output: The trajectory matrix Ms,t(n)
p←s+nt,M←Ir
for i=1 to d do
σ←sgn(ti)
for j=1 to ∣ti∣ do
M←M⋅Mσei(p)p←p+σei
end for
end for
return M
Remark 5. A trajectory matrix defines a homogeneous linear difference system of order 1 (definition 6)
Remark 6. A trajectory matrix can be thought of as a one-dimensional CMF. Its lattice is embedded into the d-dimensional lattice, with its origin set at s, and every step translates into a step in our trajectory t∈Zd.
Definition 16 (Primal and Dual CMF limits). Let M be a CMF, and let r,d∈N.
A particularly common choice of CMF is a D-finite CMF [23]. Many mathematical constants such as e, π, and γ are deeply connected to linear differential equations, and thus arise naturally as limit values of sequences generated by such CMFs.
Definition 17 (State vector of a D-finite function). Let F(v;z) be a D-finite function, and let θ=z⋅dzd denote the Euler operator. Then the state vector associated with F is defined as
S(v;z):=(F(v;z),θF(v;z),⋯θr−1F(v;z))T
where r is the order of the differential equation satisfied by F, p∈Zd encodes the discrete parameters of F, and z∈R its continuous variable.
Assume further that the contiguous relations of F express each discrete parameter shift as a rational linear combination of F,θF,…,θr−1F. Then there exists a finite set of matrices
{Mei(z)(v)}i=1d⊂GLr(R(v))
such that for all regular z∈R, p∈Zd and i∈{1,…,d}:
S(p+ei;z)T=S(p;z)T⋅Mei(z)(p).
For each regular z∈R, the set {Mei(z)(v)}i=1d forms a CMF basis.
These relations can be derived algorithmically using creative telescoping and differential elimination techniques. For further reading, including the process for constructing a CMF for the generalized hypergeometric function pFq, and an explicit example for 2F1, see [23, §3].
4 Approximation Construction Framework
In this section, we present the details of our framework: The parameterization choices for the CMF, the trajectories that we use and the initial values of the two solutions with ratio approximating γ.
Definition 18 (The γ CMF and Meijer G-function Parameterization). Let r≥3. We define Mr as the D-Finite CMF of the Meijer G-function with the parameters (m,n,p,q)=(r,r−1,r−1,r), evaluated at z=1.
The CMF is of rank r, its lattice is of dimension d=2r−1, and its state vector at v∈Zd is
Remark 7. The contour L for Gr−1,rr,r−1(v;z) is defined as the standard contour (for the case when q>p≥0) that encircles the poles of the b parameters (i.e., the poles in the right half of the plane) exactly once in the negative direction.
Definition 19 (Initial Values). Let r≥3. We define the initial value vectors pr,qr∈Zr, whose entries for 0≤k≤r−1 are given explicitly by:
Definition 20 (Conjectured Trajectories). Let r≥3, and let a∈Z≤0r−1, b∈Nr. Define the trajectory associated with (a,b) as
t(a,b):=(a1,…,ar−1;b1,…,br)T∈Z2r−1.
Let k(b) denote the multiplicity of min(b) in b. The set of conjectured convergent trajectories is
Tr={t(a,b):k(b)≥2}.
Definition 21 (Converging Trajectories). We prove convergence for a subfamily of order 3.
Let a∈Z≤02. Denoting 1=(1,1,1)T, we define the subset of converging trajectories as:
T3∗={t(a,1)}
Because 1 contains r=3 vectors of equal size, k(1)>2 therefore T3∗⊂T3.
The main result of this work is the existence of infinite approximations to γ via linear difference systems, all convertible to an Apéry-like approximation using the cyclic vector method (definition 10):
Theorem 1 (Infinite γ Apéry-like Approximations). Let r=3. For the source point 0∈Z2r−1, any trajectory t∈Tr=3 and any generic vector v∈Rr (With respect to the dual system), the dual CMF limit is evaluated as:
Furthermore, provided that the resulting gauge is regular and invertible for every n∈N0, converting the system M0,t(n)−T into an Apéry-like recurrence using the cyclic vector method maintains the evaluation under the gauged initial values.
Our evaluation is achieved through the composition of two theorems. The first is the algebraic component, the identity that shows a connection between the state vector of Mr at the origin Sr(0) and γ:
Theorem 2 ( γ Linear Form). Let r≥3, and let Sr(v;z) be the state vector of Mr CMF (definition 18). Then:
qrTSr(0)prTSr(0)=γ.
The second is the dynamical component, which proves that infinitely many trajectories are able to isolate the state vector at the origin:
Theorem 3 (Dual Convergence). Let r=3. For any trajectory t∈Tr∗ and generic vector v∈Rr, the dual system of the trajectory matrix isolates the initial state vector Sr(0) up to scaling. More precisely, there exists a sequence cn∈R∖{0} such that
n→∞limcnΦM0,t(n)−Tv=Sr(0).
Moreover, any rational gauge U(n)∈GLr(Q(n)) that is regular and invertible for every non negative n, defining the system C(n)=U(n)−1M0,t(n)−TU(n+1) maintains the isolation. Namely, for any vector v∈Rr generic to C(n), there exists a sequence cn∈R∖{0} such that
n→∞limcnΦC(n)v=U(0)−1Sr(0).
Using these two theorems, the proof of the main theorem is straight-forward:
Proof of theorem 1: By theorem 3, there exists a sequence cn∈R∖{0} such that
Because theorem 3 establishes that rational gauge transformations preserve this asymptotic isolation, applying the cyclic vector method yields an Apéry-like recurrence whose dual system evaluates identically to γ when paired with the gauge-transformed initial value vectors prTU(0) and qrTU(0).
Conjecture 1 (Conjectured γ Apéry-like Approximations). For any r≥3 and for any t∈Tr (definition 20), theorem 3 and consequently theorem 1 hold.
5 The Meijer G-function and Euler's Constant Identity
In this section, we prove theorem 2, the algebraic component of our result, using a novel identity between the Meijer G-function and Euler's constant:
Proposition 1 (G-function and γ identity). Let θ=zdzd and p∈N,p≥2. Define
Gp(z):=Gp,p+1p+1,p(0,…,00,0,…,0)z
where Gp,qm,n is the Meijer G-function (definition 5).
Then the numerator and denominator operators
Np:=(1+θ)p−2+(−1)pθp−1,Dp:=(1+θ)p−1+(−1)pθp,
satisfy that
Np[Gp](1)=γ,Dp[Gp](1)=1.
This identity directly proves theorem 2:
Proof of theorem 2: By the construction of the Conservative Matrix Field, the k-th entry of the state vector S(0;1) evaluates the differential operator θk applied to the basis function Gr−1(z) at z=1. Consequently, applying any polynomial differential operator P(θ)=∑k=0r−1ckθk is algebraically equivalent to the inner product of its coefficient vector v=[c0,…,cr−1]T with the state vector:
vTS(0)=P(θ)[Gr−1(z)]z=1.
By expanding the binomial definitions of the operators Nr−1(θ) and Dr−1(θ), it is immediate that pr and qr are precisely their respective coefficient vectors, yielding prTS(0)=γ and qrTS(0)=1.
Using Euler's reflection formula we define:
Φp(s):=Γ(−s)p+1Γ(1+s)p=(−π)pΓ(−s)cscp(πs),
we have
Gp(z)=2πi1∫LΦp(s)zsds.
5.1 Integral Representation and WZ Certificates
Define
F(p,s)=Φp(s).
To evaluate the sum, we form a WZ pair by introducing rational certificates Q(p,s)2:
G(p,s):=Q(p,s)F(p,s).
Lemma 3. For any i∈N0:
θiGp(z)=2πi1∫LsiΦp(s)zsds.
Proof. This follows immediately from standard operational properties of the inverse Mellin transform, where applying the differential operator θ=zdzd corresponds to multiplying the s-domain integrand by s [38].
2The construction of Q(p,s) as rational certificates represents a specific, manually verifiable instance of Zeilberger's method of creative telescoping [36]. In a broader context, algorithms due to Chyzak [37] generalize this approach to arbitrary holonomic functions. From this perspective, our operators Dp and Np are naturally suited for such algorithmic treatment, and the fact that we can carry out the telescoping ‘by hand’ is merely a reflection of the simplicity of the integrand.
Proof. The result is obtained by direct verification using the functional identities Γ(1−s)=−sΓ(−s) and csc(π(s−1))=−csc(πs). Applying these to Φp(s)=(−π)pΓ(−s)cscp(πs) yields:
Substituting Qnum and Qden into this expression directly produces Pnum and Pden.
Lemma 5. For any integer p≥2 and polynomial Q(p,s) defined as in lemma 4,
N→∞limRess=NQ(p,s)Φp(s)=0.
Proof. By the standard residue representation of the Meijer G-function, for the right-loop contour L and q=p+1>p, the contour integral is represented by the sum of the residues at the right-hand poles. This residue expansion converges for all z=0. In particular, it converges absolutely at z=1.
By lemma 3, multiplying the integrand Φp(s) by the WZ certificate polynomial Q(p,s) corresponds functionally to applying the finite-order differential operator Q(p,θ) to Gp(z). Since term-by-term differentiation preserves the radius of convergence of a power series [39], the residue sum for the modified integrand Q(p,s)Φp(s) remains absolutely convergent at z=1.
By the necessary condition for convergence of an infinite series, its individual terms tend to zero. Therefore,
Proof. By the inverse Mellin transform property (lemma 3), evaluating the operators Np and Dp at z=1 maps the polynomials in θ directly to our polynomials Pnum and Pden in s. Therefore:
We evaluate these integrals by closing the contour to the right and summing the residues at s=n≥0. The clockwise closure orientation of the contour contributes an overall minus sign. By the WZ pair identity (lemma 4), the sum telescopes:
Remark 8 ( γ as a single rank-three value form). Selecting p=2, proposition 1 yields (1+θ)G2(1)=γ. Using the Mellin-Barnes definition of the Meijer G-function [25, §16.17, Eq. (16.17.1)], the operator 1+θ multiplies the integrand by 1+s, and therefore replaces one factor Γ(1+s) by Γ(2+s).
Equivalently, this shifts one upper parameter from 0 to -1. Therefore:
γ=G2,33,2(−1,00,0,0)1.
5.3 Examples
We illustrate the operators Np and Dp for two small values of p=r−1, and derive pr,qr from them. The coefficients of these operators form Pascal's triangle: they consist of row p−1 and the p−2 respectively (due to the fact that (1+θ)n=∑i=0n(in)θi), followed by (−1)p.
Yielding the initial values p6=(1,3,3,1,−1,0)T and q6=(1,4,6,4,1,−1)T.
6 The Meijer G-function CMF
In this section, we will explain the symbolic process required to construct a D-finite CMF (section 3.4) for the Meijer G-function (definition 5). The construction is defined by the Meijer G-function parameters m,n,p,q∈N0, and it is well defined for the same parameter ranges as the Meijer G-function: 0≤m≤q and 0≤n≤p.
Denoting r=max(p,q), and d=p+q, we order the parameters as p=(a1,…,ap,b1,…,bq).
Similarly to the technique presented in [23, §3], when looking at the basis spanned by the state vector, we denote ti as the coefficient of θi of the differential equation and construct
Finally, to finalize the CMF construction, one can invert the directions of the negative basis matrices as described in remark 4 by calculating Mei(p;z)=M−ei(p+ei;z)−1.
Example 3. Let us construct the CMF defined in definition 18, with r = 3.
By the definition, we have m = q = 3 and p = n = 2.
First, we construct the theta matrix. For this parameterization the differential equation is
Finally, we can conclude by calculating Mei(p;z)=M−ei(p+ei;z)−1.
7 Dual Limit Convergence
In this section, we prove theorem 3, the dynamical component of our result. The result is an application of Miller's algorithm [34] as described in lemma 2, enabled by the asymptotic behavior of the Meijer G-function within our specific parameterization.
Definition 22 (Strongly Recessive Asymptotic). Let r∈N,M∈GLr(Q(n)) and consider the linear difference system:
x(n+1)T=x(n)TM(n)
If the system admits a unique recessive asymptotic (definition 13) and the separation grows superpolynomially, then the system admits a strongly recessive asymptotic. That is, for any integer d>0:
n→∞limnd∥xr−1(n)∥∥xr(n)∥=0.
7.1 Converging Trajectories
Let L denote the right-loop contour from definition 5, and let L′ be its image under the change of variables x=n−s, with the orientation reversed. Let a1,a2∈Z≤0 and write αi=1−ai for i=1,2.
We first show that I1(n)T, I2(n)T, I3(n)T are solutions of the same linear difference system and identify I3(n)T as the Meijer G-function state vector S3(nt)T from definition 18. We then evaluate the asymptotic growth of the three solutions and show that this solution is strongly recessive.
Lemma 7. For every t=(a1,a2;1,1,1)∈T3∗,
Ij(n+1)T=Ij(n)TM0,t(n),j∈{1,2,3}.
Moreover,
I3(n)T=S3(nt)T.
Proof. We prove the claim through auxiliary Meijer G-function branches. These branches are introduced only for the proof: by the CMF construction they satisfy the desired trajectory recurrence, and by applying the reflection formula to their Mellin–Barnes integrands they become an invertible constant linear transformation of I1(n)T, I2(n)T, I3(n)T.
We first compare these branches through the CMF construction of M0,t(n), as described in section 6. For our Meijer G-parameterization Gr−1,rm,r−1, the differential equation is
[(−1)−mzi=1∏p(θ−ai+1)−j=1∏q(θ−bj)]G(z)=0.
For m=1 and m=3, the sign of the z-term is negative. For m=2, the sign is positive, but the substitution z↦−z changes this sign while preserving the θ-algebra:
θzG(−z)=θwG(w)w=−z.
Thus all three branches have the same effective differential equation and therefore determine the same companion matrix Mθ.
The upper-parameter contiguous matrices agree exactly. For the lower-parameter shifts, the unsigned matrices are Mθ−bjI, while the signs depend on m. Along one step of t=(a1,a2;1,1,1), each lower parameter is shifted once, so only the product of the three lower signs matters. For a branch with parameter m, this product is (−1)m. Hence the branches with m=1 and m=3 satisfy the same trajectory system. The unnormalized middle branch has the opposite sign:
It remains to express the auxiliary branches in terms of I1(n)T, I2(n)T, I3(n)T. Since q>p, all three branches are represented using the same right-loop contour. After the change of variables x=n−s, applying θℓ multiplies the Mellin–Barnes integrand by
sℓ=(n−x)ℓ,
so the state-vector identities follow componentwise from the scalar integrand identities. The upper Gamma factors become
Γ(s−ain+1)=Γ((1−ai)n−x+1)=Γ(αin−x+1),i=1,2,
and the common part of the three scalar integrands is precisely K(n,x).
We use the reflection identity
Γ(1−x)1=πΓ(x)sin(πx).
For the middle branch, the normalization (−1)n and the argument -z contribute
Since A is constant and invertible, I1(n)T, I2(n)T, I3(n)T are constant linear combinations of the auxiliary branch solutions. Therefore they satisfy the same trajectory system:
Ij(n+1)T=Ij(n)TM0,t(n),j∈{1,2,3}.
Finally, the third auxiliary branch is the canonical branch used in definition 18, and the comparison above gives
Lemma 9 (Recessive Trajectories). Let t∈T3∗. Then the difference system defined by M0,t(n) admits a strongly recessive solution represented by the state vector S3(nt)T defined in definition 18.
Proof. By lemma 7, I1(n)T, I2(n)T, I3(n)T are solutions of the trajectory system, and by lemma 8 they differ asymptotically and are linearly independent. Thus, they form a Birkhoff-Trjitzinsky basis of solutions. Moreover,
Re(ρ1)=Re(ρ2)=−21,Re(ρ3)=1.
Therefore, for j=1,2,
∥Ij(n)∥∥I3(n)∥=exp(−29cn2/3+O(n1/3)),
which decays faster than any power of n. Thus I3(n)T is the strongly recessive solution in this basis. Finally, by lemma 7,
I3(n)T=S3(nt)T.
Hence S3(nt)T is a strongly recessive solution of the difference system defined by M0,t(n).
7.2 Rational Gauge Invariance
Lemma 10. Let x(n+1)T=x(n)TM(n) be a linear difference system admitting a strongly recessive asymptotic (definition 22) denoted by xr(n)T.
Let A(n)∈GLr(Q(n)) be a rational gauge transformation matrix, defining the gauge-equivalent system C(n)=A(n)−1M(n)A(n+1).
Then, the gauged system C(n) admits a strongly recessive asymptotic equal to xr(n)TA(n).
Proof. For all sufficiently large n, the rational gauge matrix A(n) defines an invertible correspondence between the solution spaces of the two systems. Let xi(n) be the primal basis solutions of M(n). The corresponding primal solutions of the gauged system C(n) are given by the mapping:
zi(n)T=xi(n)TA(n)
Because A(n)∈GLr(Q(n)), its induced matrix norm is bounded by some positive constants C1,C2∈N and polynomial degrees d1,d2∈N such that for all sufficiently large n:
∥A(n)∥≤C1nd1and∥A(n)−1∥≤C2nd2
By the sub-multiplicativity of induced matrix norms:
The upper bound unconditionally vanishes due to the assumption that xr(n) is a strongly recessive asymptotic (definition 22). Therefore, the mapped state zr(n) strictly satisfies the definition of a strongly recessive asymptotic for the gauged system C(n).
Corollary 2. Let Sr(0)=xr(0) be the initial state of the strongly recessive asymptotic of M0,t.
Let U(n)∈GLr(Q(n)) be a rational gauge that is regular and invertible for every n∈N0, and define
C(n)=U(n)−1M0,t(n)−TU(n+1).
For any vector v∈Rr generic with respect to the gauge-equivalent dual system C(n) (definition 12), the forward iteration isolates the gauged initial state up to scaling. That is, there exists a sequence cn∈R∖{0} such that
n→∞limcnΦC(n)v=U(0)−1Sr(0).
Proof. By lemma 10, the system C(n)−T=U(n)TM0,t(n)U(n+1)−T admits the strongly recessive asymptotic Sr(nt)U(n)−T.
The result is then achieved directly by lemma 2.
7.3 Proof of Theorem 3
Proof of theorem 3. Let r=3 and t∈Tr=3∗.
By lemma 9, Sr(nt)T is a strongly recessive solution of the system defined by M0,t(n).
From lemma 2, for any generic vector v∈Rr, the transition matrix of the dual system isolates the unique recessive solution at n=0 up to scaling. Hence, there exists a sequence cn∈R∖{0} such that
n→∞limcnΦM0,t(n)−Tv=Sr(0).
Finally, conversion to an Apéry-like recurrence by the CVM algorithm (definition 10) is a rational gauge transformation, so the same isolation is preserved by corollary 2 whenever the gauge is regular and invertible on N0.
7.4 Example
We illustrate the preceding construction for the trajectory with upper parameters (0,0) and lower parameters (1,1,1), namely t=(0,0;1,1,1). This yields the following trajectory matrix of order 3:
Hence I3(n) is superpolnomially smaller than the two dominant conjugate solutions. Since S3(nt)T=I3(n)T, the state vector is the strongly recessive solution of the trajectory system.
This agrees with the asymptotic splitting obtained computationally from the gauged companion system using RISC's Asymptotics [32]. By lemma 10, conversion to companion form by CVM preserves the exponential scales up to polynomial factors.
The common factor n2ne−2n agrees with (n!)2 up to a polynomial factor by Stirling's formula. Thus the computational output matches lemma 8, up to the ordering of the basis.
8 Examples
In this section, we demonstrate the full sequence generation pipeline outlined in fig. 1.
All examples presented here, along with the automated generation framework, are available in the supplementary Colab notebook. The implementation relies on the ramanujantools package [33], utilizing python-flint [41] to optimize heavy polynomial arithmetic.
To illustrate the mechanics of the Conservative Matrix Field, we focus on the CMF case M=M3, as defined in definition 18. The CMF is of rank r=3 and lattice dimension 2r−1=5, which yields holonomic sequences of order 3.
We fix our source point at the origin 0∈Z5. As derived in proposition 1 and explicitly verified in example 1, any trajectory matrix M0,t(n) from this source that satisfies strict dual convergence criteria (lemma 2) will converge to γ when projected onto the following initial value matrix:
[p(−3)q(−3)p(−2)q(−2)p(−1)q(−1)]=[111101]
8.1 Full Algorithm Showcase
Let t=(0,0;1,1,1)T. This trajectory lies within the verified converging family (lemma 9) therefore convergence is mathematically guaranteed. We calculate the trajectory matrix:
The holonomic sequences p′(n) and q′(n) defined by these initial values satisfy
n→∞limq′(n)p′(n)=γ.
8.2 Trajectories Violating the Convergence Criteria
To understand the limits of this approach, we consider three trajectories that violate the requirements of the convergence criteria (lemma 2). In order to verify that these trajectories do not satisfy it, we use the Birkhoff-Trjitzinsky engine [29] of the ramanujantools pacakge [33], which was validated against RISC's Asymptotics package [32].
To run it, we convert our forward system into a companion form using the CVM algorithm definition 10. As defined in section 6, our trajectory matrix M0,t(n) satisfies the following forward system:
The CVM algorithm constructs a gauge matrix U(n) such that C(n)=U(n)−1Ms,t(n)U(n+1) is a companion matrix representing a scalar recurrence. Mapping a forward-looking CVM equation into a standard backward-looking companion form implicitly aliases the base state to the highest forward index, thus the natural solution to this derived recurrence is our Meijer G-function parameterization, reflecting an index shift equal to the order of the system:
p(n)=G2,33,2((n+3)t;1).
Because the gauge matrix U(n) is rational in n, the asymptotic separation hierarchy is preserved when converting the system if the separation (of the unique recessive solution) is exponential or larger, which is the case in all three examples.
8.2.1 Example 1
Let t1=(0,0;0,0,1)T, corresponding to the trajectory matrix
M0,t1(n)=n2−2n1−1−2−10(n−1)(n+1)−2n−2
Examining the asymptotics of the gauged companion form:
u1(n)=n2log(n)n!,u2(n)=n2n!,u3(n)=1
While this system does have a unique recessive solution, it is definitely not our state vector, as
n→∞limG2,33,2(nt1;1)=∞.
Therefore, the dual system is expected to converge to a different constant, as seen in fig. 3.
8.2.2 Example 2
Let t2=(0,0;0,1,1)T, corresponding to the trajectory matrix
Similarly to the previous example, the primal system has two conjugate recessive solutions, therefore the dual system is expected to oscillate, as seen in fig. 3.
Converging Trajectory t=(0, 0; 1, 1, 1)
Trajectories violating the Stokes shard
Figure 3: Dichotomy of convergence for p=2 sequences. (Left) The converging trajectory t=(0,0;1,1,1)T from example 1, showing logarithmic error decreasing smoothly to 10−200 at depth n=1000. (Right) The trajectories violating the convergence criteria: t1=(0,0;0,0,1) converges to a different constant; t2=(0,0;0,1,1) and t3=(0,0;1,2,2) oscillate and diverge.
8.3 Convergence Rate Comparison
We now explore trajectories strictly inside the converging family T3∗⊂Z3 (lemma 9). Figure 4 illustrates the convergence rate of these sequences—measured as logarithmic error decay—evaluated both by trajectoryal steps (left) and by lattice steps, defined by the ℓ1 norm of the trajectory (right). The color progression highlights the influence of the trajectory parameters on the approximation quality: the convergence rate per step increases with the magnitude of ∣ai∣ (indicated by the lighter curves) and diminishes with larger ∣bj∣ (indicated by the darker curves).
We plot the recurrences by Rivoal [16] and by Aptekarev et al. recurrence [14] (dashed bright lines) as reference points. They are omitted from the normalized plot as neither corresponds to a trajectory in the CMF lattice. Their approximations exhibit a convergence rate similar to that of existing trajectories.
Following [22; 23], we define the numerical approximation of the irrationality measure at depth n as
δ=−1−log∣qn∣(qnpn−γ),
where qnpn is the corresponding rational approximation. Regardless of the chosen trajectory, empirical evaluations of δ consistently converge to -1. As this represents the theoretical lower bound for δ, the sequences generated by this framework do not directly contribute to an irrationality proof for γ.
Figure 4: A selection of formulas for γ derived from trajectories in T3, compared by convergence rate. Trajectories in T3∗, proven to converge, are marked by an asterisk. (Left) The formulas' convergence rate, presenting the number of digits log10(err) as a function of depth. The recurrences by Rivoal and by Aptekarev et al. are highlighted as references. (Right) The formulas' normalized convergence rate, to reflect the complexity of each step in the trajectory. log∣t∣1(err) as a function of depth.
8.4 A connection to Rivoal's recurrence
The numerical comparison in section 8.3 suggests that the t=(0,0;1,1,1)T trajectory and Rivoal's recurrence are related due to their similar convergence rate. Indeed, they are connected by a gauge transform up to a scalar factor. Denoting our construction (from section 8.1)
We thank Pilar Stolarczyk for observing a similar connection between Rivoal's recurrence and a modified version of our construction, as part of a submission to the Ramanujan Challenge for AI [42].
9 Conclusion
The framework developed in this work conjectures that for r≥3, there exists two initial value vectors pr,qr∈Zr and an infinite set of trajectories Tr⊂Z2r−1 such that for any t∈Tr∗ the dual CMF limit converges to Euler's constant:
This result is a composition of two mathematical mechanisms:
The Algebraic Component: The initial value vectors pr and qr are derived from the Meijer G-function identity (proposition 1) to satisfy the exact evaluation, proven for any r≥3:
qrTS(0)prTS(0)=γ.
The Dynamical Component: For any trajectory t that satisfies the dual convergence criteria (lemma 2) and generic vector v, the dual system of the trajectory matrix isolates the initial state vector S(0) up to scaling (lemma 9). That is, there exists a sequence cn∈R∖{0} such that
n→∞limcnΦM0,t(n)−Tv=S(0).
We have proven that trajectories in T3∗ satisfy the dual convergence criteria, and it is conjectured that trajectories in Tr also satisfy it.
9.1 The Discovery Process
The results presented in this paper did not emerge from a grand initial design, but rather from numerical experimentation. While exploring the behavior of the 2F2 hypergeometric function within the framework of Conservative Matrix Fields, we observed a surprising phenomenon: the spontaneous emergence of Euler's constant γ.
Investigating the source of this coincidence revealed that the phenomenon could be understood more naturally through the Meijer G-function, of which pFq is a special case. This shift in perspective suggested that the G-function itself provides the structural backbone for the CMF construction. Following this lead, we utilized the PSLQ integer relation algorithm [43] to conduct a broad numerical search for linear combinations of G-function evaluations that sum to γ. The patterns revealed by these experiments ultimately allowed us to reverse-engineer and rigorously establish proposition 1.
9.2 Future Work
This work lays the foundation for a new perspective on constructing Apéry-like sequences for Euler's constant via symbolic identities and their associated Conservative Matrix Fields. Several promising directions for future research may include:
Extension to γ+log(z). During our research, we also observed that the same construction appears to approximate values of the form γ+log(z) by evaluating the CMF at different values of z. This suggests further connections to Rivoal's work [16] beyond the connection shown in section 8.4. A natural future direction is to generalize the Meijer G-function identity accordingly and clarify whether Rivoal's recurrences arise as a special case of the CMF framework.
2. Beyond the Meijer G-function
Building on our method of deriving infinite families of holonomic sequences converging to γ via the Meijer G-function, a question that arises naturally is: can alternative parameterizations of the G-function also be used to construct holonomic sequences in a similar way? Moreover, could D-finite functions other than the Generalized Hypergeometric Function and the Meijer G-function be used for this purpose? Such investigations may yield novel sequences with potentially improved irrationality measures or uncover new symbolic approximations to constants beyond γ.
3. Unifying Holonomic Sequences via CMFs
Alongside the framework developed in this work for Euler's constant γ, recent work on π [44] demonstrates the potential of interpreting known holonomic sequences as different trajectories within a CMF. This raises a broader open question: Can all Apéry-like approximations to mathematical constants be geometrically embedded as specific discrete trajectories within a D-finite Conservative Matrix Field?
Addressing this could elevate isolated recurrence constructions into a unified symbolic framework, where the target constants emerge naturally from the dual convergence limits of the underlying CMF.
4. Toward a Comprehensive Theory of Mathematical Constants
As demonstrated in this work, CMFs encode entire families of holonomic sequences to mathematical constants. While some theoretical foundations have been laid [23], many structural properties remain supported only by numerical evidence. Developing a deeper theory of CMFs could help focus the search for new irrationality proofs that may be hiding within them.
Declaration of AI use
During the development of the proof of Lemma 8, the first author used GPT-5.6 sol to study mathematical techniques outside his prior expertise. This interaction helped develop a variant of the proof, which was then written by the authors in Section A.
References
[1] Richard P Stanley. “Differentially finite power series”. In: European journal of combinatorics 1.2 (1980), pp. 175–188.
[2] Leonard Lipshitz. "D-finite power series". In: Journal of algebra 122.2 (1989), pp. 353–373.
[3] Doron Zeilberger. “A holonomic systems approach to special functions identities”. In: Journal of computational and applied mathematics 32.3 (1990), pp. 321–368.
[4] Roger Apéry. “Irrationalité de ζ (2) et ζ (3)”. In: Astérisque 61.11-13 (1979), p. 1.
[5] Alfred Van der Poorten and R Apéry. “A proof that Euler missed...” In: The Mathematical Intelligencer 1.4 (1979), pp. 195–203.
[6] Keith Ball and Tanguy Rivoal. “Irrationalité d’une infinité de valeurs de la fonction zêta aux entiers impairs”. In: Inventions mathematicae 146.1 (2001), pp. 193–207.
[8] Jesús Guillera. “Generators of some Ramanujan formulas”. In: The Ramanujan Journal 11.1 (2006), pp. 41–48.
[9] Gal Raayoni et al. “The ramanujan machine: automatically generated conjectures on fundamental constants”. In: arXiv preprint arXiv:1907.00205 (2019).
[10] Frank Calegari, Vesselin Dimitrov, and Yunqing Tang. “The linear independence of 1, ζ(2), and L(2,χ−3)”. In: arXiv preprint arXiv:2408.15403 (2024).
[11] Leonhard Euler. “De progressionibus harmonicis observationes”. In: Commentarii academiae scientiarum Petropolitanae 7.1734-35 (1740), pp. 150–156.
[12] Leonhard Euler. “De numero memorabili in summazione progressionis harmonicae naturalis occurrente”. In: Acta Academiae Scientiarum Imperialis Petropolitanae (1785), pp. 45–75.
[13] Lorenzo Mascheroni. Adnotationes ad calculum integralem Euleri: in quibus nonnulla problemata. Vol. 11. ex typographia Petri Galeatii, 1790.
[14] Alexander I Aptekarev. “On linear forms containing the Euler constant”. In: arXiv preprint arXiv:0902.1768 (2009).
[15] Kh Hessami Pilehrood and T Hessami Pilehrood. “On a continued fraction expansion for Euler’s constant”. In: Journal of Number Theory 133.2 (2013), pp. 769–786.
[16] Tanguy Rivoal. “Rational approximations for values of derivatives of the Gamma function”. In: Transactions of the American Mathematical Society 361.11 (2009), pp. 6115–6149.
[17] A. B. Shidlovskii. “On the transcendence and algebraic independence of the values of E-functions connected with an arbitrary number of algebraic equations in the field of rational functions”. In: Izvestiya of the Academy of Sciences of the USSR. Mathematics Series 26.6 (1962). In Russian, pp. 877–910.
[18] Kurt Mahler. Lectures on transcendental numbers. Vol. 546. Reprint of the original lectures from 1969/1976. Springer, 2006.
[19] Tanguy Rivoal. “On the arithmetic nature of the values of the gamma function, Euler’s constant, and Gompertz’s constant”. In: Michigan Mathematical Journal 61.2 (2012), pp. 239–254.
[20] A. I. Aptekarev, ed. Rational Approximation of Euler's Constant and Recurrence Relations. Vol. 9. Sovremennye Problemy Matematiki. (in Russian). Moscow: Steklov Mathematical Institute, Russian Academy of Sciences, 2007.
[21] Jeffrey Lagarias. “Euler’s constant: Euler’s work and modern developments”. In: Bulletin of the American Mathematical Society 50.4 (2013), pp. 527–628.
[22] Rotem Elimelech et al. “Algorithm-assisted discovery of an intrinsic order among mathematical constants”. In: Proceedings of the National Academy of Sciences 121.25 (2024), e2321440121.
[23] Shachar Weinbaum et al. “On Conservative Matrix Fields: Continuous Asymptotics and Arithmetic”. In: arXiv preprint arXiv:2507.08138 (2025).
[24] Alin Bostan, Frédéric Chyzak, and Élie De Panafieu. “Complexity estimates for two uncoupling algorithms”. In: Proceedings of the 38th International Symposium on Symbolic and Algebraic Computation. 2013, pp. 85–92.
[25] NIST Digital Library of Mathematical Functions. https://dlmf.nist.gov/, Release 1.2.4 of 2025-03-15. F. W. J. Olver, A. B. Olde Daalhuis, D. W. Lozier, B. I. Schneider, R. F. Boisvert, C. W. Clark, B. R. Miller, B. V. Saunders, H. S. Cohl, and M. A. McClain, eds. URL: https://dlmf.nist.gov/.
[26] Yudell L. Luke. The special functions and their approximations, Vol. I. Vol. Vol. 53. Mathematics in Science and Engineering. Academic Press, New York-London, 1969, pp. xx+349.
[27] Peter A Hendricks and Michael F. Singer. “Solving difference equations in finite terms”. In: Journal of symbolic computation 27.3 (1999), pp. 239–259.
[28] George D Birkhoff. “Formal theory of irregular linear difference equations”. In: Acta Mathematica 54.1 (1930), pp. 205–246.
[29] George D Birkhoff and WJ Trjitzinsky. “Analytic theory of singular difference equations”. In: Acta Mathematica 60.1 (1933), pp. 1–89.
[30] Manuel Kauers. D-finite Functions. Vol. 2. Springer, 2023.
[31] Jet Wimp and Doron Zeilberger. “Resurrecting the asymptotics of linear recurrences”. In: Journal of mathematical analysis and applications 111.1 (1985), pp. 162–176.
[32] Manuel Kauers. A Mathematica package for computing asymptotic expansions of solutions of P-finite recurrence equations. RISC Report Series 11-04. ISSN 2791-4267. Linz, Austria: Research Institute for Symbolic Computation (RISC), Johannes Kepler University, 2011.
[34] Walter Gautschi. “Computational aspects of three-term recurrence relations”. In: SIAM review 9.1 (1967), pp. 24–82.
[35] Ray VM Zahar. “A mathematical analysis of Miller’s algorithm”. In: Numerische Mathematik 27.4 (1976), pp. 427–447.
[36] Doron Zeilberger. “The method of creative telescoping”. In: J. Symb. Comput. 11.3 (1991), pp. 195–204.
[37] Frédéric Chyzak. “An extension of Zeilberger’s fast algorithm to general holonomic functions”. In: Discrete Mathematics 217.1-3 (2000), pp. 115–134.
[38] Philippe Flajolet, Xavier Gourdon, and Philippe Dumas. “Mellin transforms and asymptotics: Harmonic sums”. In: Theoretical computer science 144.1-2 (1995), pp. 3–58.
[39] Lars Valerian Ahlfors and Lars V Ahlfors. Complex analysis. Vol. 3. McGraw-Hill New York, 1979.
[40] A. M. Mathai. A handbook of generalized special functions for statistical and physical sciences. Oxford Science Publications. The Clarendon Press, Oxford University Press, New York, 1993, pp. xii+235. ISBN: 0-19-853595-3.
[41] William B Hart. "Flint: Fast library for number theory". In: Computationalgebra Rundbrief (2013).
[42] Michael Shalyt et al. “The Ramanujan Challenge For AI”. In: arXiv preprint arXiv:2607.09721 (2026).
[43] Helaman Ferguson, David Bailey, and Steve Arno. “Analysis of PSLQ, an integer relation finding algorithm”. In: Mathematics of Computation 68.225 (1999), pp. 351–369.
[44] Tomer Raz et al. “From Euler to AI: Unifying Formulas for Mathematical Constants”. In: arXiv preprint arXiv:2502.17533 (2025).
[45] Frank Olver. Asymptotics and special functions. AK Peters/CRC Press, 1997.
[46] Richard B Paris and David Kaminski. Asymptotics and mellin-barnes integrals. Vol. 85. Cambridge University Press, 2001.
[47] Thorsten Neuschel. “A uniform version of Laplace’s method for contour integrals”. In: Analysis 32 (2012), pp. 121–135.
A Proof of Lemma 8
We use the standard method of steepest descent, deforming the integration contour through a simple saddle point along a path of constant phase [25, Section 2.4(iv); 45, Section 4.10; 46, Section 1.1]. For Mellin–Barnes integrals, the deformation must additionally respect the Gamma-function pole families and produce no boundary contribution at infinity [25, Section 16.17; 46, Section 3.4]. For analogous saddle-point deformations of Mellin–Barnes loop integrals with Gamma factors and large parameters, see [46, Sections 5.3.2–5.3.3].
In our setting, the phase and amplitude retain a dependence on the asymptotic parameter even after normalization, so the classical fixed-function formulation does not by itself provide the required uniform control. We therefore use the parameter-uniform version of Laplace's method due to Neuschel [47, Theorem 3.1] which gives a uniform asymptotic expansion for a fixed contour when the phase and amplitude vary continuously with an auxiliary parameter in a compact set:
Theorem 4. Let G⊂C be a domain and S⊂C a nonempty compact set equipped with the subspace topology. Let P be a piecewise continuously differentiable non-closed simple curve with finite starting point a∈G and finite or infinite endpoint b, such that [a,b)P⊂G. Let
p,q:G×S⟶C
be continuous functions such that pz:=p(⋅,z) and qz:=q(⋅,z) are holomorphic on G for every z∈S. Suppose that, in a neighborhood of a, they admit the convergent expansions
pz(t)=pz(a)+ν=0∑∞bν(z)(t−a)μ+ν,μ∈N,b0(z)=0,
and
qz(t)=ν=0∑∞cν(z)(t−a)ν+λ−1,λ∈N,c0(z)=0.
Assume further that, for every t∈(a,b)P,
z∈Sinfℜ(pz(t)−pz(a))>0,
and that this expression has a positive lower bound as t→b along P.
Finally, suppose that there exists N∈N such that
I(n;z):=∫Pe−npz(t)qz(t)dt
converges absolutely for all n≥N and z∈S, and that
∫Pe−Nℜ(pz(t))∣qz(t)∣∣dt∣
is bounded as a function of z∈S.
Then, as n→∞,
I(n;z)∼e−npz(a)ν=0∑∞Γ(μν+λ)n(ν+λ)/μaν(z),
uniformly with respect to z∈S. The first coefficients are
The branches of powers with base b0(z) are chosen as described in the first part of the proof [47, Theorem 3.1].
Proof of lemma 8. The proof has three main steps. We first identify the exact saddle points and construct fixed limiting steepest-descent contours around their scaled limits. We then pull these contours back to the original x-plane, obtaining n-dependent Mellin–Barnes contours that pass through the exact saddles. Finally, we apply the inverse normalization, which sends these contours back to fixed paths with the saddle at the origin, and use the uniform Laplace method stated in theorem 4 to extract the asymptotic growth of the three solutions.
Step 1: Saddle points and limiting contours
We bring the integral representations of I1,I2,I3 into the form required by theorem 4 by identifying the corresponding saddle points and integration contours.
Fix j∈{1,2,3}, and write τ1=2πi, τ2=−2πi, and τ3=0.
On a simply connected pole-free domain, choose branches of the logarithms and write Kj(n,x)=eΨj(x,n), where
Ψj(x,n)=3logΓ(x)+i=1∑2logΓ(αin−x+1)+τjx.
After scaling x=n2/3s, the saddle equation ∂xΨj(x,n)=0 becomes
Fj,n(s):=3ψ(n2/3s)−i=1∑2ψ(αin−n2/3s+1)+τj=0.
By lemma 1, as n→∞, with α1,α2 fixed, uniformly for s in compact subsets of the principal slit plane,
Fj,n(s)=3logs−log(α1α2)+τj+O(n−1/3).
The limit as n→∞ is therefore
Fj(s):=n→∞limFj,n(s)=3logs−log(α1α2)+τj.
It has a simple zero at cρj, since
Fj(cρj)=0,Fj′(cρj)=cρj3=0.
Choose a sufficiently small disk Dj centered at cρj, contained in the principal slit plane, such that Fj has no other zero in Dj. Since Fj is bounded away from zero on ∂Dj, the uniform estimate above gives, for all sufficiently large n,
∣Fj,n(s)−Fj(s)∣<∣Fj(s)∣,s∈∂Dj.
Rouché's theorem therefore gives a unique simple zero σj,n∈Dj of Fj,n. Since Fj′(cρj)=0, we have ∣Fj(s)∣≍∣s−cρj∣ near cρj. Using Fj,n(σj,n)=0 and the uniform estimate above,
σj,n=cρj+O(n−1/3).
Consequently, for all sufficiently large n, the phase Ψj(x,n) has exactly one saddle point in n2/3Dj, located at
xj,n=n2/3σj,n=cρjn2/3+O(n1/3).
The limiting saddle equation is the derivative of the phase
ϕj(s)=s(3logcs+τj−3),ϕj′(s)=Fj(s),
defined on the principal slit plane Ω=C∖(−∞,0]. Thus cρj is the unique simple saddle of ϕj in Ω. Let Γj be the union of the two maximal steepest-descent trajectories whose closures contain the saddle cρj. Away from the saddle, these trajectories follow the negative gradient flow
dtds=−ϕj′(s),
along which
dtdϕj(s(t))=−∣ϕj′(s(t))∣2.
Consequently, along either branch, Im(ϕj) is constant and Re(ϕj) strictly decreases away from the saddle. Neither branch can terminate at the origin. For j=1,2,
Im(ϕj(cρj))=(−1)j+1233c=0,
whereas ϕj(s)→0 as s→0. For j=3, ϕ3(c)=−3c, while Re(ϕ3) decreases along the branch and tends to 0 at the origin. Nor can a branch meet the logarithmic cut, since for r>0,
ϕj(−r±i0)=3r(1+logrc)−r(τj±3πi).
For j=3, the imaginary part cannot equal the saddle phase. For j=1,2, equality is possible on only one bank and forces r=qc, where q=33/(2π)∈(1/2,1); there,
Re(ϕj(−qc±i0))=3cq(1−logq)>23c=Re(ϕj(cρj)),
contradicting descent. Since there are no other critical points in Ω, by standard continuation of the gradient-flow trajectories, both maximal branches extend to infinity.
To determine their directions, write s=reiθ, with −π<θ<π. The constant-phase condition along Γj gives
rIm(ϕj(cρj))=(3logcr−3)sinθ+(3θ+Im(τj))cosθ.
As r→∞, this implies sinθ=O((logr)−1), so every end approaches either the positive or the negative real direction. The positive direction is impossible because there Re(ϕj(s))→+∞, whereas Re(ϕj) decreases along a descent branch. Hence both ends approach the negative real direction.
For sufficiently large r, the level equation has one solution near each bank of the negative real axis. Writing θ=π−ε on the upper bank and θ=−π+ε on the lower bank gives
respectively. Since 3π±Im(τj)>0, the two ends approach the negative real direction from opposite sides, and
∣Im(s)∣=r∣sinθ∣≍logrr⟶∞.
Thus the tails of Γj move arbitrarily far from the negative real axis. Since the remaining compact part does not meet the cut,
dist(Γj,(−∞,0])>0.
Step 2: Mellin–Barnes contours
We now pull the limiting contour back to the original x-plane. Define
Cj,n=n2/3(Γj+σj,n−cρj).
Since σj,n−cρj=O(n−1/3) and dist(Γj,(−∞,0])>0, the translated contour Γj+σj,n−cρj remains disjoint from the negative real axis for all sufficiently large n. Hence Cj,n avoids the left pole family 0,−1,−2,…. The right poles are
x=αin+1+k,i=1,2,k≥0.
After scaling by n−2/3, these lie at
αin1/3+(1+k)n−2/3,
while Γj, and hence its small translate, is bounded to the right. Thus all right poles lie to the right of Cj,n for sufficiently large n. Moreover, by Step 1, the two ends of Cj,n tend to negative infinity from opposite sides of the real axis. Orienting Cj,n consistently with L′, it therefore has the prescribed right-loop topology and separates the two pole families.
It remains to check convergence at infinity. By the reflection formula,
which tends to −∞ like −∣x∣log∣x∣. The remaining factor also decays exponentially: on the upper tail,
sin3(πx)eτjx=exp(−(3π+Im(τj))Im(x)+O(1)),
while on the lower tail it is
exp(−(3π−Im(τj))∣Im(x)∣+O(1)).
Since 3π±Im(τj)>0, the integrals over Cj,n converge absolutely; the polynomial factors 1,n−x,(n−x)2 do not affect this conclusion.
Thus Cj,n separates the two pole families, has the prescribed right-loop behavior at infinity, and the corresponding integrals converge absolutely. Hence Cj,n satisfies the contour conditions of definition 5 and is an admissible choice for L′. In particular, we may evaluate Ij(n) on Cj,n, whose defining advantage is that it passes through the exact saddle x=n2/3σj,n.
Step 3: Uniform saddle asymptotics
We now normalize the contours back to fixed paths. Set
Pj:=Γj−cρj,x=n2/3(σj,n+t).
By construction, this maps Pj onto Cj,n, with the exact saddle corresponding to t=0. Define
We apply theorem 4 componentwise to the two halves of Pj meeting at t = 0. Let
SN={0}∪{n−1/3:n≥N}.
For each n≥N, let zn=n−1/3 and set
pzn(t):=−Φj,n(t),qzn(t):=qj,n(t).
At z = 0 set
p0(t)=ϕj(cρj)−ϕj(cρj+t),q0(t)=1.
By σj,n=cρj+O(n−1/3) and lemma 1, these functions converge locally uniformly, together with the required derivatives, as z→0.
Step 1 gives
dist(Pj,−cρj+(−∞,0])>0.
Thus the normalized left poles remain uniformly separated from Pj, whereas the normalized right poles escape to +∞. After increasing N if necessary, the phases and amplitudes are therefore holomorphic on a common simply connected neighborhood Gj of Pj for all z∈SN.
At the saddle, pz(0)=pz′(0)=0, while for z=zn=n−1/3,
Hence the local expansion in Neuschel's theorem has μ=2 and λ=1. Moreover, Re(p0(t))>0 for t∈Pj∖{0}, since Pj is the translated steepest-descent contour of ϕj. Since Pj leaves the origin in the steepest-descent directions and pz′′(0)→−3/(cρj)=0, after increasing N if necessary there exist a,δ>0 such that
Re(pz(t))≥a∣t∣2,0<∣t∣≤δ,t∈Pj,
uniformly for z∈SN. On every compact subarc δ≤∣t∣≤R, local uniform convergence to p0 and the strict positivity of Re(p0) give a uniform positive lower bound.
On the two tails of Pj, step 1 shows that t approaches the negative real direction, uniformly away from the logarithmic cut. In particular, for sufficiently large ∣t∣, the arguments of 1−x and αin−x+1, where
x=n2/3(σj,n+t),
remain in a fixed sector about the positive real axis.
Using the reflection formula and Stirling's estimates in this sector, the normalized phase satisfies
Repzn(t)≥κ∣t∣(3log∣t∣−2log(1+n1/3∣t∣))−C∣t∣−C,
for sufficiently large ∣t∣, with constants κ>0 and C>0 independent of n.
The three reflected Gamma factors contribute the leading decay proportional to 3∣t∣log∣t∣, whereas the two remaining Gamma factors contribute at most 2∣t∣log(1+∣t∣/n1/3).
Consequently, there exist constants A, B > 0, independent of n, such that
Repzn(t)≥A∣t∣log(2+∣t∣)−B.
The same estimate holds for p0 by the corresponding tail asymptotics of the limiting phase ϕj. Since the amplitudes 1,qz,qz2 grow at most polynomially, the required uniform integrability follows.
The restriction in Neuschel's statement to an integer Laplace parameter is inessential, so we apply the theorem with parameter n2/3. With the orientations inherited from Pj, the two half-contour expansions combine into the nonzero simple-saddle contribution. Consequently, there exist constants Aj=0 such that, defining the complex scalar amplitude
Aj(n):=Ajn1/3eΨj(n2/3σj,n,n),
we have
Ij(n)T=Aj(n)(1+o(1),n(1+o(1)),n2(1+o(1))).
Thus the three components share the same complex exponential amplitude, while the polynomial factors determine the asymptotic shape of the state vector.
By lemma 1, uniformly for s in a bounded neighborhood of cρj,
Taking absolute values of the amplitude and using ∥(1,n,n2)∥=Θ(n2), we obtain
∥Ij(n)∥=H(n)exp(−3cRe(ρj)n2/3+O(n1/3)),
as claimed.
It remains to prove linear independence. I3(n) has a strictly smaller exponential scale than the first two. Expanding the saddle equation and the Stirling formula one order further gives, for the two dominant amplitudes,
Thus an unwrapped argument of A1(n)/A2(n) has eventually positive increments asymptotic to 23cn−1/3. Since
n=1∑∞n−1/3=∞,
the relative amplitude cannot converge to a nonzero constant.
Suppose now that
λ1I1+λ2I2+λ3I3=0
for constants λ1,λ2,λ3. By the exponential separation of I3, any nontrivial relation must have λ1λ2=0. Taking the first component and using the vector asymptotics above gives
A2(n)A1(n)=−λ1λ2+o(1),
a contradiction. Hence the three functions are linearly independent.