Next Article in Journal
Infrared and Visible Image Fusion Using a State-Space Adversarial Model with Cross-Modal Dependency Learning
Previous Article in Journal
Research on Industrial Process Fault Diagnosis Method Based on DMCA-BiGRUN
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Continued Fractions with Quadratic Numerators via the Bauer–Muir Transform

Department of Mathematics, University of Taipei, Taipei 100234, Taiwan
*
Author to whom correspondence should be addressed.
Mathematics 2025, 13(15), 2332; https://doi.org/10.3390/math13152332
Submission received: 26 June 2025 / Revised: 15 July 2025 / Accepted: 20 July 2025 / Published: 22 July 2025

Abstract

We study a class of continued fraction transformations where the partial numerators are quadratic polynomials and the denominators are linear or constant. Using the Bauer–Muir transform, we establish two theorems that yield structurally distinct but equivalent continued fractions—one with rational coefficients and another with alternating forms. These transformations provide a unified framework for evaluating and simplifying continued fractions, including classical identities such as one of Euler, a recent result by Campbell and Chen, and several conjectures from the Ramanujan Machine involving π and log 2 . We conclude by discussing the potential extension of our methods to more general polynomial cases.

1. Introduction

Given sequences ( a n ) n N and ( b n ) n N , the continued fraction
a 1 b 1 + a 2 b 2 + a 3 b 3 +
is typically denoted by
K n = 1 a n b n = a 1 b 1 + a 2 b 2 + a 3 b 3 + .
Continued fractions have a long and rich history, with deep connections to number theory, approximation theory, orthogonal polynomials, and special functions.
Among the many tools developed for their analysis, the Bauer–Muir transform stands out as a classical yet powerful method. It produces equivalent continued fractions by introducing a sequence of linear modifications to the numerators and denominators while preserving the overall value when convergence holds.
Originally introduced by M. E. Bauer in 1872 and generalized by T. Muir in 1877 [1], the transformation was later recast in terms of linear fractional transformations. It also appears in modern contexts, such as convergence acceleration algorithms and analytic continuation techniques.
Given a continued fraction of the form K n = 1 a n b n , its Bauer–Muir transform with respect to a sequence ( x n ) n N 0 is defined by
x 0 + ϕ 1 b 1 + x 1 + K n = 1 a n ϕ n + 1 / ϕ n b n + 1 + x n + 1 x n 1 ϕ n + 1 / ϕ n ,
where
ϕ n = a n x n 1 ( b n + x n ) , for n N ,
and all ϕ n 0 .
Proposition 1
([1]). Let K n = 1 a n b n be a continued fraction with positive elements that converges. If x n 0 for sufficiently large n, then its Bauer–Muir transform with respect to ( x n ) also converges to the same limit.
This result was originally established by Perron, who proved that under the stated conditions, the Bauer–Muir transform not only converges but also preserves the value of the continued fraction.
Particular choices of the auxiliary sequence ( x n ) yield elegant closed-form expressions. For instance, Belaghi, Khrushchev, and Bashirov [2] considered the case
a n = a n + b , b n = n + c , with 0 a 1 , a + b 1 , c 0 ,
and showed that the transformed fraction simplifies to the rational form
a + K n = 1 a n + a a 2 + b a c n + 2 a + c .
Recently, the Ramanujan Machine project [3] has introduced a novel paradigm for discovering mathematical identities—especially continued fraction representations of constants such as π , log 2 , and values of the Riemann zeta function. These conjectures are not derived symbolically but through numerical experiments, employing algorithms such as meet-in-the-middle searches and optimization methods. Notably, several of the Ramanujan Machine’s conjectures for π exhibit a recurring pattern: continued fractions with quadratic numerators and linear denominators.
This structural form is not limited to conjectures from the Ramanujan Machine. In fact, many classical continued fraction identities also feature quadratic numerators and linear or constant denominators. For example, Ramanujan, in his first letter to Hardy (see [4], p. 145), wrote
s + K n = 1 ( 2 n 1 ) 2 2 s = 4 Γ s + 3 4 Γ s + 1 4 2 , for s > 0 ,
and Brouncker’s celebrated formula for π (see [1], (3.19)),
4 π = 1 + K n = 1 ( 2 n + 1 ) 2 2 ,
also takes this form.
Motivated by these observations, we aim to systematically investigate transformations of continued fractions of the form
K n = 1 ( n + a ) ( n + b ) α n + c ,
and show that they can be re-expressed in new forms—sometimes simpler or more regular—using Bauer–Muir-type transformations.
Polynomial continued fractions—those whose numerators and denominators are polynomial functions of the index—have been studied in various structural settings. In particular, Bowman and Mc Laughlin [5] examined numerous infinite classes of continued fractions where the degrees of the numerator and denominator polynomials are equal or nearly equal. Their work focuses on balanced-degree cases.
In a different direction, Cao, Tanigawa, and Zhai [6] demonstrated the utility of the Bauer–Muir transformation in proving continued fraction identities involving ratios of gamma functions. Notably, several of their identities require two successive applications of the transformation, each with nonlinear modifying sequences. This underscores the flexibility and depth of the method and parallels our approach in utilizing such transformations to obtain elegant continued fraction expansions for mathematical constants.
The recent Ramanujan Machine project [3] provides an algorithmic counterpart to this intuition-driven discovery process, generating candidate identities through large-scale numerical search and symbolic reconstruction.
As an illustrative example, consider the following identity conjectured by the Ramanujan Machine:
π 2 + 1 = 3 2 6 9 9 20 12 35 15 = 3 + K n = 1 ( n + 1 ) ( 2 n 1 ) 3 n + 3 .
In this paper, we show that this continued fraction is closely related, via our main result (see Theorem 1), to the more regular form
K n = 1 ( n + 1 ) ( n + 2 ) 1 = 2 · 3 1 + 3 · 4 1 + 4 · 5 1 + 5 · 6 1 + .
This transformation reveals a hidden structure behind seemingly irregular continued fractions and provides a unified framework for proving many of the Ramanujan Machine’s conjectures.
Main contributions. The principal contributions of this paper are as follows:
  • We establish two transformation theorems (Theorems 1 and 2) for continued fractions whose partial numerators are quadratic polynomials and whose denominators are linear or constant.
  • The transformed continued fractions typically converge more rapidly than their original forms, offering computational advantages.
  • Several continued fraction conjectures related to π and log 2 proposed by the Ramanujan Machine are verified by converting them into known classical continued fractions using our transformation formulas.
The remainder of the paper is organized as follows.
Section 2 reviews the general theory of continued fractions relevant to our discussion, including Euler’s continued fraction and an integral representation that will be used in later sections.
Section 3 presents and proves our two main transformation theorems, along with several corollaries.
In Section 4, we compare our results with a classical contraction identity, highlighting structural differences and computational advantages.
Section 5 provides applications of our theorems. We begin with a transformation of a classical Euler-type continued fraction ([1], p. 178), followed by an analysis of a recently discovered identity by Campbell and Chen [7], and conclude by verifying several continued fraction conjectures involving π and log 2 proposed by the Ramanujan Machine [3].
Finally, Section 6 concludes the paper with a summary of our contributions and a discussion of possible future directions.

2. Preliminaries

In this section, we review several classical results concerning continued fractions and their transformations. These foundational tools will be frequently invoked in our subsequent derivations and applications.
An ordered pair of sequnces ( { a n } n N , { b n } n N 0 ) of complex numbers, with a n 0 for n 1 , gives rise to sequences { s n ( w ) } n N 0 and { S n ( w ) } n N 0 of linear fractional transformations
s 0 ( w ) = S 0 ( w ) = b 0 + w , s n ( w ) = a n b n + w , S n ( w ) = S n 1 ( s n ( w ) ) ,
for n N , and a sequence { f n } with f n = S n ( 0 ) . It is noted that
S n ( w ) = b 0 + a 1 b 1 + a 2 b 2 + + a n 1 b n 1 + a n b n + w .
The numbers a n and b n are called the n-th partial numerator and partial denominator, respectively, of the continued fraction. The value f n is called the n-th approximant or convergent. When we write f n = P n Q n and let P 1 = 1 , P 0 = b 0 , Q 1 = 0 , and Q 0 = 1 . Then, { P n } n N 0 and { Q n } n N 0 satisfy the Euler–Wallis formulas [8]:
P n = b n P n 1 + a n P n 2 ,
Q n = b n Q n 1 + a n Q n 2 .
Assume that lim n f n = ξ , i.e.,
ξ = b 0 + K n = 1 a n b n = b 0 + a 1 b 1 + a 2 b 2 + + a n b n + a n + 1 ξ n + 1 .
Let P n / Q n be its n-th approximant. Then, we have [1]
ξ = ξ n + 1 P n + a n + 1 P n 1 ξ n + 1 Q n + a n + 1 Q n 1 .
If the continued fraction has positive terms, then ([1], Thereom 1.7)
P 0 Q 0 < < P 2 n Q 2 n < < P 2 n + 1 Q 2 n + 1 < < P 1 Q 1 < P 1 Q 1 = .
Lemma 1
(Euler, 1744 ). Let ( c k ) k N 0 be a sequence of nonzero numbers. Then
k = 0 n c k = c 0 1 + K k = 1 n c k / c k 1 1 + c k / c k 1 .
This classical identity expresses a finite sum in terms of a finite continued fraction. Originally due to Euler, it plays a pivotal role in the development of continued fraction expansions for various series and generating functions.
A particularly useful special case arises when each term c k can be written as a product of the form c k = j = 0 k r j , where ( r k ) k N 0 is a sequence of nonzero numbers. This multiplicative representation yields the well-known continued fraction identity; specifically, in this setting, the formula reduces to the Euler continued fraction:
1 + k = 1 n r 1 r 2 r k = 1 1 + K k = 1 n r k 1 + r k .
This formulation often arises in the analysis of generating functions and forms a bridge between summation and continued fraction representations.
We also recall a useful rescaling identity that allows for the normalization of a continued fraction through an auxiliary sequence ( c n ) . If ( c n ) n N is a sequence of nonzero numbers, then:
K n = 1 a n b n = 1 c 1 K n = 1 a n c n c n + 1 b n c n + 1 .
This transformation is particularly useful when simplifying or aligning the partial numerators and denominators of a continued fraction without altering its value.
In our analysis, we also make use of the following elegant integral identity involving the Laplace transform of the reciprocal of a hyperbolic cosine power (cf. [1], p. 198):
0 e s u cosh m u d u = 1 s + K n = 1 n ( n + m 1 ) s , ( m R , s > 0 ) .
This identity illustrates a deep connection between special functions and continued fractions. In particular, it highlights the appearance of structured quadratic numerators in a naturally arising continued fraction.
In this paper, we focus on continued fractions with quadratic numerators of the form
a n = α n 2 + β n + γ , b n = δ n + ϵ ,
and derive explicit transformations for such expressions under the Bauer–Muir framework.
By the Fundamental Theorem of Algebra, every quadratic polynomial with complex coefficients can be factored into linear terms. Moreover, thanks to the scaling property in Equation (12), we may, without loss of generality, normalize the leading coefficient to 1. Hence, it suffices to consider quadratic numerators of the form
a n = ( n + a ) ( n + b ) ,
where a , b C , which provides a canonical setting for the transformations developed in the next section.

3. Main Results

In this section, we establish a transformation formula for continued fractions whose numerators are quadratic polynomials and whose denominators are linear or constant. Specifically, we consider continued fractions of the form
K n = 1 ( n + a ) ( n + b ) α n + c ,
which are often amenable to classical analytic techniques and, in some cases, allow explicit evaluation.
However, many of the recently proposed continued fraction conjectures—such as those discovered by the Ramanujan Machine—exhibit more intricate structures that are not easily identified as classical forms. In such cases, our transformation theorem provides a new perspective by linking these expressions to more familiar continued fractions via analytic equivalence.
In particular, Theorem 1 transforms a continued fraction of the above classical type into a different form whose structure often resembles the conjectures, thereby offering a unified framework for recognizing and verifying these identities. Moreover, the result provides a general method for producing new continued fraction identities that, while differing significantly in form, converge to the same value.
Theorem 1.
Let a , b , c , α R , and define β = α + α 2 + 4 2 . Assume that the continued fraction
K n = 1 ( n + a ) ( n + b ) α n + c
has positive elements and converges. Then its value is equal to
β ( a + 1 ) + K n = 1 β ( n + a ) β ( n + a ) + c + ( n b 1 ) ( α + β ) α + c + 2 β ( n + a + 1 ) + ( n 1 ) ( α + β ) ,
provided that the transformed continued fraction also converges.
Proof. 
For any positive integer n, we define
θ n = β ( n + a ) [ β ( n + a ) + c + ( n b 1 ) ( α + β ) ] , δ n = α + c + 2 β ( n + a + 1 ) + ( n 1 ) ( α + β ) , μ n = K k = 1 ( n + k + a ) ( k + b ) α k + c + n ( α + β ) .
Since both the continued fractions μ 0 and β ( a + 1 ) + K n = 1 θ n δ n converge, there exist two real numbers f and g such that
μ 0 = f , and β ( a + 1 ) + K n = 1 θ n δ n = g .
Let ( { θ n } n N , { δ n } n N 0 , { S n ( 0 ) = f n } n N ) be the continued fraction β ( a + 1 ) + K n = 1 θ n δ n .
Let a n = ( n + a ) ( n + b ) , b n = α n + c , x n = β ( n + a + 1 ) . Then, by Proposition 1, its Bauer–Muir transform with respect to ( x n ) n N 0 converges to the same value. Then, from the formula of ϕ n (see Equation (3)), we know that
ϕ n = 1 ( α + β ) β ( n + a ) ( n + b ) β ( n + a ) ( β + a β + c α b β b ) .
Since β = ( α + α 2 + 4 ) / 2 , we have β ( α + β ) = 1 . This implies that
ϕ n = β ( n + a ) ( β + a β + c α b β b ) .
By Proposition 1, we have
K n = 1 ( n + a ) ( n + b ) α n + c = β ( a + 1 ) + β ( 1 + a ) ( β + a β + c α b β b ) α + c + β ( a + 2 ) + K n = 1 ( n + a + 1 ) ( n + b ) α n + α + c + β .
Thus, μ 1 converges. Using a similar method to treat the continued fraction μ 1 , we choose x n = β ( n + a + 2 ) , and then we have
K n = 1 ( n + a + 1 ) ( n + b ) α n + c + α + β = β ( a + 2 ) + β ( 2 + a ) β ( 2 + a ) + c + ( 1 b ) ( α + β ) α + c + α + β + β ( a + 3 ) + K n = 1 ( n + a + 2 ) ( n + b ) α n + c + 2 ( α + β ) .
Therefore, we know that μ 2 also converges. Moreover, the original continued fraction μ 0 becomes
β ( a + 1 ) + β ( 1 + a ) ( β + a β + c α b β b ) α + c + 2 β ( a + 2 ) + β ( 2 + a ) β ( 2 + a ) + c + ( 1 b ) ( α + β ) α + c + α + β + β ( a + 3 ) + K n = 1 ( n + a + 2 ) ( n + b ) α n + c + 2 ( α + β ) .
Continuing this process m times, we have that if the continued fraction μ m 1 converges, then it is equal to
β ( a + m ) + β ( m + a ) β ( m + a ) + c + ( m 1 b ) ( α + β ) α + c + ( m 1 ) ( α + β ) + β ( a + m + 1 ) + K n = 1 ( n + a + m ) ( n + b ) α n + c + m ( α + β ) .
This implies that μ m also converges, and we have the following identity for any positive integer m:
μ 0 = S m ( μ m β ( m + a + 1 ) )
= β ( a + 1 ) + θ 1 δ 1 + θ 2 δ 2 + + θ m 1 δ m 1 + θ m δ m + μ m β ( m + a + 1 ) 1 .
That is to say,
S n ( μ n β ( n + a + 1 ) ) = f , for   n N .
Let P n Q n = f n = S n ( 0 ) be the n-th approximant. We have Q 1 = 0 , Q 0 = 1 , and
Q n = δ n Q n 1 + θ n Q n 2 .
This gives that
Q 1 = δ 1 , Q 2 = δ 1 δ 2 + θ 2 , Q 3 = δ 1 δ 2 δ 3 + δ 3 θ 2 + δ 1 θ 3 .
It is known that | θ n | = Θ ( n 2 ) and δ n = Θ ( n ) . Therefore, we have Q n Q n 1 = Θ ( n ) .
Since μ m has positive terms, we use Brouncker’s theorem (see Equation (9)):
( a + m + 1 ) ( b + 1 ) α + c + m ( α + β ) + ( a + m + 2 ) ( b + 2 ) 2 α + c + m ( α + β ) < μ m < ( a + m + 1 ) ( b + 1 ) α + c + m ( α + β ) .
Taking m , we have μ m b + 1 α + β . Applying Equations (8) and (16), we have
f = P n + ( μ n β ( n + a + 1 ) ) Q n + ( μ n β ( n + a + 1 ) ) .
Therefore,
P n Q n f = P n Q n P n + ( μ n β ( n + a + 1 ) ) Q n + ( μ n β ( n + a + 1 ) ) = μ n β ( n + a + 1 ) · P n 1 Q n 1 P n Q n Q n Q n 1 + μ n β ( n + a + 1 ) .
Since Q n / Q n 1 = Θ ( n ) ,
lim n μ n β ( n + a + 1 ) Q n Q n 1 + μ n β ( n + a + 1 )
exists, and its value is a positive constant. Since lim n f n = g , we have
P n 1 Q n 1 P n Q n 0 as n .
Therefore, g = lim n f n = f . We have the desired result. □
The preceding theorem admits an equivalent formulation by reparameterizing the expression in terms of the variable d, defined via d = β , so that α = 1 d 2 d . By applying the transformation in Equation (12), we obtain the following corollary.
Corollary 1.
Let a , b , c , d R , and assume that the continued fraction on the left-hand side of the identity below has positive elements. Then
K n = 1 d 2 ( n + a ) ( n + b ) ( 1 d 2 ) n + c d = d 2 ( a + 1 ) + K n = 1 d 2 ( n + a ) ( 1 + d 2 ) n + a d 2 + c d b 1 ( 2 d 2 + 1 ) n + d 2 + 2 a d 2 + c d ,
provided that both continued fractions converge.
While Theorem 1 provides a continued fraction transformation in which the partial numerators follow a unified expression, it is sometimes beneficial to express the continued fraction in a form where the numerators are defined separately for odd and even indices.
The next result presents such a refinement: the sequence a n is defined by two distinct formulas—one for odd n, and another for even n. Although this parity-based representation yields the same value as that in Theorem 1, it often reveals more transparent arithmetic structure and can be more amenable to symbolic analysis or application-specific adaptation.
We now state this alternative formulation as Theorem 2.
Theorem 2.
Let a , b , c , α R , and define β = α + α 2 + 4 2 . Assume that the continued fraction
K n = 1 ( n + a ) ( n + b ) α n + c
has positive elements and converges. Then it has the same value as the continued fraction
β ( a + 1 ) + K n = 1 a n α + c + β ( n + a + b + 2 ) + ( n 1 ) ( α + β ) ,
where
a 2 n 1 = β ( n + a ) β ( n + a ) + c + ( α + β ) ( n b 1 ) , a 2 n = β ( n + b ) β ( n + b ) + c + ( α + β ) ( n a 1 ) , for n 1 ,
provided that this transformed continued fraction also converges.
Proof. 
Following the same approach as in the proof of Theorem 1, we begin with Equation (14). Instead of using the same x n , we now choose a different x n = β ( n + b + 1 ) . Applying the Bauer–Muir transform with this choice, we have
K n = 1 ( n + a + 1 ) ( n + b ) α n + c + α + β = β ( b + 1 ) + β ( 1 + b ) β ( 1 + b ) + c + ( 0 a ) ( α + β ) α + c + α + β + β ( b + 2 ) + K n = 1 ( n + a + 1 ) ( n + b + 1 ) α n + c + 2 ( α + β ) .
Substituting this expression into Equation (14), we obtain a nested form for
K n = 1 ( n + a ) ( n + b ) α n + c ,
expressed in terms of alternating shifts of a and b, along with recursive applications of the transformation:
β ( a + 1 ) + β ( 1 + a ) ( β + a β + c α b β b ) α + c + β ( a + b + 3 ) + β ( 1 + b ) β ( 1 + b ) + c + ( 0 a ) ( α + β ) α + c + α + β + β ( b + 2 ) + K n = 1 ( n + a + 1 ) ( n + b + 1 ) α n + c + 2 ( α + β ) .
By iterating this process—alternating the roles of a and b and incrementing the index—we arrive at the continued fraction with partial numerators defined by parity as stated in Theorem 2. The proof that both converge to the same value parallels Theorem 1’s reasoning, but with significantly increased notational complexity; we therefore omit the details. □
The preceding theorem admits an equivalent formulation by reparameterizing the expression in terms of the variable d, defined by d = β , so that α = 1 d 2 d . We also apply the transformation identity (12) to simplify coefficients. This leads to the following corollary.
Corollary 2.
Let a , b , c , d R , and assume that the continued fraction
K n = 1 d 2 ( n + a ) ( n + b ) ( 1 d 2 ) n + c d
has positive elements and converges. Then it is equal in value to
d 2 ( a + 1 ) + K n = 1 a n ( d 2 + 1 ) n + d 2 ( a + b + 1 ) + c d ,
where the partial numerators a n are defined by
a 2 n 1 = d 2 ( n + a ) d 2 ( n + a ) + c d + ( n b 1 ) , a 2 n = d 2 ( n + b ) d 2 ( n + b ) + c d + ( n a 1 ) , for n 1 ,
provided that the transformed continued fraction also converges.
Together, Theorems 1 and 2 provide two complementary transformation formulas for infinite continued fractions with quadratic numerators and linear denominators. The first presents a unified expression, while the second distinguishes between odd- and even-indexed terms, revealing finer structural features in certain cases.
To better position our main results within the broader theory of continued fractions, the next section provides a comparison between our transformation theorems and certain classical identities, such as contraction formulas. This comparative discussion highlights the structural differences and advantages of our approach.
We then proceed to demonstrate the utility of our results in Section 5, where we apply them to a variety of examples. These examples comprise a classical Euler-type continued fraction identity, a recently obtained formula of Campbell and Chen, and several conjectures proposed by the Ramanujan Machine. In particular, we show how our theorems can be used to verify, reinterpret, or simplify these identities by linking them to known evaluations or rewriting them in more tractable forms. The applications are organized into four thematic subsections, each highlighting a different context in which our transformation formulas prove effective.

4. Comparison with Classical Continued Fraction Transformations

Before proceeding to applications, we briefly compare our transformation theorems with classical identities in the theory of continued fractions. One well-known result expresses a continued fraction with unit denominators in terms of a structurally modified form involving products of consecutive partial numerators. Specifically, for a sequence { a n } , one has (see [9], Lemma 1; [1], (5.38)):
K n = 1 a n 1 = a 1 + K n = 1 a 2 n 1 a 2 n 1 + a 2 n + a 2 n + 1 ,
provided that both sides converge. This identity, a special case of the general contraction principle, preserves the value of the original continued fraction while reorganizing its structure via grouped numerator products.
Recently, Dougherty-Bliss and Zeilberger [10], as well as Laohakosol, Meesa, and Sutthimat [11], highlighted an elegant continued fraction expansion for the reciprocal of the Riemann zeta function ζ ( s ) = n = 1 n s , valid for ( s ) > 1 :
1 ζ ( s ) = 1 + K n = 1 n 2 s ( n + 1 ) s + n s .
To further illustrate the differences between classical and new transformations, we consider the generalized Dirichlet beta function:
β a , b ( s ) : = n = 0 ( 1 ) n ( a n + b ) s , a > 0 , b > 0 , ( s ) > 0 .
This function interpolates between classical examples:
  • β ( s ) = β 2 , 1 ( s ) , the Dirichlet beta function;
  • η ( s ) = β 1 , 1 ( s ) , the alternating Riemann zeta function (Dirichlet eta function).
Using Euler’s formula (cf. Lemma 1), we express β a , b ( s ) as a continued fraction:
β a , b ( s ) = 1 b s + K n = 1 ( a n + b a ) 2 s ( a n + b ) s ( a n + b a ) s .
Alternatively, using the Mellin transform, we have the integral representation:
β a , b ( s ) = 1 Γ ( s ) 0 x s 1 e b x 1 + e a x d x .
By substituting specific parameter values into (19), we recover two well-known classical identities. When ( a , b ) = ( 2 , 1 ) (the Dirichlet beta case) and ( a , b ) = ( 1 , 1 ) (the Dirichlet eta case), we obtain
1 β ( s ) = 1 + K n = 1 ( 2 n 1 ) 2 s ( 2 n + 1 ) s ( 2 n 1 ) s , 1 η ( s ) = 1 + K n = 1 n 2 s ( n + 1 ) s n s .
These formulas emerge directly as special cases of the general continued-fraction representation (19).
We now consider a concrete example with parameters a = 3 , b = 1 , and s = 1 to illustrate the practical difference in convergence behavior under various transformation methods. In this case,
n = 0 ( 1 ) n 3 n + 1 = 3 π + 3 log 2 9 = 1 1 + K n = 1 ( 3 n 2 ) 2 3 .
Letting
M : = K n = 1 ( 3 n 2 ) 2 3 ,
we compute its exact value:
M = 9 3 π + 3 log 2 1 0.1966748977 ,
accurate to at least 10 decimal places.
Applying the classical transformation (18), we write
M = 3 K n = 1 ( n 2 3 ) 2 1 ,
and set a n = ( n 2 3 ) 2 . This gives:
1 3 + 2 3 K n = 1 ( 3 n 1 ) 2 ( 6 n 5 ) 2 36 n 2 6 n + 7 0.1966868184 ,
evaluated using 10,000 terms. The approximation is accurate only up to four decimal places.
In contrast, applying Theorem 1 yields:
1 + K n = 1 6 n ( 3 n 2 ) 9 n + 2 0.1966748977 ,
which matches the exact value to all 10 decimal places using the same number of terms.
In summary, when applicable, our transformation theorems significantly enhance both numerical convergence and computational efficiency. Although we do not pursue the computational aspect in detail here, the above example clearly illustrates the potential benefits.
More importantly, Theorems 1 and 2 provide structurally novel continued fractions—with variable denominators and tunable parameters—that frequently yield elegant evaluations involving π , log 2 , or gamma function quotients.
This highlights a key advantage of our method: classical transformations often rely on recursive or contraction-based patterns, while our approach offers a unifying, parameter-dependent framework that simplifies and explains various identities—including recent conjectures generated by the Ramanujan Machine.

5. Applications

In this section, we demonstrate the applicability of Theorems 1 and 2 through a series of concrete examples. These examples are organized into four subsections, beginning with a classical transformation originally due to Euler, followed by a recent evaluation by Campbell and Chen. We then turn to several conjectural continued fractions proposed by the Ramanujan Machine, including identities involving π and log 2 , and show how our transformation framework allows these conjectures to be verified or reformulated.

5.1. A Continued Fraction Identity Derived from Euler’s Formula

We begin by transforming a classical result due to Euler, stated in 1750 (cf. [1], p. 178). For parameters s , q > 0 and r > q , Euler established the identity
s + K n = 0 ( r n + q ) ( r n + r q ) 2 s = ( q + s ) · 0 1 x r + s + q 1 ( 1 x 2 r ) 1 / 2 d x 0 1 x r + s q 1 ( 1 x 2 r ) 1 / 2 d x .
We first apply the transformation identity (12) and shift the index to begin at n = 1 , yielding
K n = 0 ( r n + q ) ( r n + r q ) 2 s = r · K n = 1 ( n + q r 1 ) ( n q r ) 2 s / r .
We now apply Theorem 1 with parameter choices
a = q r 1 , b = q r , c = 2 s r , α = 0 ,
which leads to β = 1 . Under these values, Theorem 1 yields the identity
K n = 1 ( n + q r 1 ) ( n q r ) 2 s / r = q r + K n = 1 ( n + q r 1 ) 2 n + 2 q r 2 + 2 s r 3 n + 2 q r + 2 s r 1 .
Applying transformation (12) again, we conclude that Euler’s identity is equivalent to the continued fraction
s + q + K n = 1 ( r n r + q ) 2 r n + 2 q + 2 s 2 r 3 r n + 2 q + 2 s r .
As a special case, let r = 2 and q = 1 . Then, based on our transformation framework, we obtain the following new continued fraction representation:
s + 1 + K n = 1 ( 4 n + 2 s 2 ) ( 1 2 n ) 6 n + 2 s .
This expression is equivalent to Euler’s formula (21) under these parameter values.
On the other hand, the classical evaluation of the same expression is given by
s + K n = 0 ( 2 n + 1 ) 2 2 s = 4 Γ s + 3 4 Γ s + 1 4 2 ,
which was originally proved by Bauer in 1872 and later independently rediscovered by Ramanujan (see Part II of Ramanujan’s Notebooks [4]).
Hence, the identity
s + 1 + K n = 1 ( 4 n + 2 s 2 ) ( 1 2 n ) 6 n + 2 s = s + K n = 0 ( 2 n + 1 ) 2 2 s
serves as a new representation of the Bauer–Ramanujan formula, obtained via Theorem 1.
In particular, Brouncker’s classical formula arises by setting s = 1 , yielding
4 π = 2 + 2 K n = 1 n ( 1 2 n ) 3 n + 1 = 1 + K n = 0 ( 2 n + 1 ) 2 2 .
Here, the right-hand side corresponds to the well-known Brouncker’s formula for 4 π , which has appeared in classical literature since the 17th century. In contrast, the left-hand side is one of the continued fraction identities recently conjectured by the Ramanujan Machine [3].
In Section 5.3, we will revisit this identity and present an independent proof using Theorem 1, thereby offering a rigorous justification for one of the machine-generated conjectures.

5.2. A Continued Fraction Evaluation by Campbell and Chen

For s > 0 , Campbell and Chen [7] derived the following continued fraction identity:
s 2 + K n = 1 n 2 n 1 s = 2 · Γ s 5 + 3 4 Γ s + 5 + 3 4 Γ s 5 + 1 4 Γ s + 5 + 1 4 .
Observe that the numerator satisfies the factorization
n 2 n 1 = ( n ϕ ) ( n 1 + ϕ ) ,
where ϕ = 1 + 5 2 is the golden ratio.
Applying Theorem 1 with parameters a = ϕ , b = ϕ 1 , c = s , and α = 0 , we obtain β = 1 . Under these parameters, Theorem 1 transforms the left-hand side of Equation (26) into the equivalent expression:
1 ϕ + s 2 + K n = 1 ( n ϕ ) ( 2 ϕ s 2 n ) 3 n 2 ϕ + s + 1 .
As an example, let s = 2 ϕ . Then we obtain the identity
ϕ + K n = 1 n 2 n 1 2 ϕ = 1 + K n = 1 2 n ( ϕ n ) 3 n + 1 = 2 Γ ϕ + 1 2 π Γ ( ϕ ) .
Remark 1.
Strictly speaking, the continued fraction in this example has a first partial numerator a 1 = 1 , which is negative and thus violates the positivity condition required by Theorem 1. Nevertheless, we are still justified in applying the Bauer–Muir transform in this case. In fact, the conditions under which the transform preserves convergence and value can be relaxed. Jacobsen [12] remarked that the Bauer–Muir transformation of a convergent continued fraction “almost always” converges to the same limit.
To apply the transformation in a rigorous manner, one may observe that the continued fraction satisfies the required positivity condition from n 2 onward. We can therefore isolate the initial term and apply the transformation to the tail:
s 2 + K n = 1 n 2 n 1 s = s 2 1 s + K n = 1 n 2 + n 1 s .
Applying Theorem 1, we have
K n = 1 n 2 + n 1 s = 1 + ϕ + K n = 1 ( n + ϕ ) ( 2 2 ϕ s 2 n ) 3 n + 2 ϕ + s + 1 .
Thus, the following identity holds:
s 2 + K n = 1 n 2 n 1 s = s 2 1 s + ϕ + 1 + K n = 1 ( n + ϕ ) ( 2 2 ϕ s 2 n ) 3 n + 2 ϕ + s + 1 .
On the other hand, applying the same parameters to Theorem 2 yields another equivalent representation of the left-hand side of Equation (26):
1 ϕ + s 2 + K n = 1 a n 2 n + s ,
where the sequence ( a n ) is defined by
a 2 n 1 = ( 2 n 2 ϕ + s ) ( ϕ n ) , a 2 n = ( 2 n + 2 ϕ + s 2 ) ( 1 ϕ n ) , for n 1 .
Since the coefficients a n alternate depending on parity, we do not pursue a specific numerical example here (such as setting s = 2 ϕ ). Instead, we note that Theorem 2 offers an alternative continued fraction representation of a different structural form, illustrating the flexibility of the transformation.
The example considered in this section illustrates how newly established identities involving special functions can be reinterpreted and transformed into continued fractions with algebraic or even symmetric structure using our framework. In particular, the flexibility of Theorems 1 and 2 allows one to derive structurally distinct but equivalent continued fraction representations, which may offer additional insight into analytic properties or facilitate further symbolic or numerical evaluations. We believe such connections enrich the interplay between special functions, continued fractions, and algebraic parameterizations.

5.3. Ramanujan’s Machine Conjectures Involving π

In this subsection, we verify several continued fraction identities related to π that were conjectured by the Ramanujan Machine [3]. Specifically, we confirm the following five formulas:
2 + K n = 1 n ( 1 2 n ) 3 n + 2 = 2 π 2 ,
1 + K n = 1 n ( 1 2 n ) 3 n + 1 = 2 π ,
1 + K n = 1 n ( 3 2 n ) 3 n + 1 = 4 π ,
2 + K n = 1 ( n + 1 ) ( 1 2 n ) 3 n + 3 = π 2 ,
K n = 1 n ( 3 2 n ) 3 n 1 = π + 2 π + 4 .
To demonstrate the validity of these conjectures, we begin by applying Theorem 1 with the parameter choices a = 0 , b = c = 1 , and α = 0 , which yields β = 1 . Under these values, Theorem 1 gives the identity
K n = 1 n ( n + 1 ) 1 = 1 + K n = 1 n ( 1 2 n ) 3 n + 2 .
On the other hand, applying s = 1 and m = 2 in the integral identity (13), we obtain
1 + K n = 1 n ( n + 1 ) 1 = 1 0 e u cosh 2 u d u = 1 ( π 2 ) / 2 .
Combining the two identities above, we confirm the first Ramanujan Machine conjecture:
2 + K n = 1 n ( 1 2 n ) 3 n + 2 = 2 π 2 .
To verify the second identity (30), we again apply Theorem 1, this time with parameter choices a = c = 1 , b = 0 , and α = 0 , which again yields β = 1 . Under these values, Theorem 1 gives the continued fraction identity
K n = 1 n ( n + 1 ) 1 = 2 + K n = 1 ( n + 1 ) ( 2 n + 1 ) 3 n + 4 = 2 + K n = 2 n ( 1 2 n ) 3 n + 1 .
Combining this with the evaluation in (34), we deduce that
1 + K n = 1 n ( 1 2 n ) 3 n + 1 = 2 π ,
thereby confirming the second conjecture.
To verify the third identity (31), we apply Theorem 1 with parameters a = c = 1 , b = 2 , and α = 0 , yielding again β = 1 . In this case, we obtain the identity
K n = 1 ( n + 1 ) ( n + 2 ) 1 = 2 + K n = 1 ( n + 1 ) ( 1 2 n ) 3 n + 4 = 2 + K n = 2 n ( 3 2 n ) 3 n + 1 .
On the other hand, we note that
K n = 1 n ( n + 1 ) 1 = 2 1 + K n = 2 n ( n + 1 ) 1 = 2 1 + K n = 1 ( n + 1 ) ( n + 2 ) 1 .
Using Equation (34), we thus deduce:
1 + K n = 1 n ( 3 2 n ) 3 n + 1 = 4 π ,
which confirms the third conjecture.
To verify the fourth identity (32), we apply Theorem 1 with parameters a = 2 , b = c = 1 , and α = 0 , again yielding β = 1 . Under this specialization, the resulting identity is
K n = 1 ( n + 1 ) ( n + 2 ) 1 = 3 + K n = 1 ( n + 2 ) ( 2 n + 1 ) 3 n + 6 = 3 + K n = 2 ( n + 1 ) ( 1 2 n ) 3 n + 3 .
From this, we obtain the value of the continued fraction
K n = 1 ( n + 1 ) ( 1 2 n ) 3 n + 3 ,
and hence verify the fourth identity (32).
Finally, we turn to the fifth identity (33). Applying Theorem 1 with parameters a = 3 , b = 0 , c = 1 , and α = 0 , we again obtain β = 1 . Under these values, the continued fraction identity becomes
K n = 1 n ( n + 3 ) 1 = 4 + K n = 1 ( n + 3 ) ( 2 n + 3 ) 3 n + 8 = 4 + K n = 4 n ( 3 2 n ) 3 n 1 .
Next, we evaluate the left-hand side using Equation (13) with s = 1 and m = 4 , which yields
1 + K n = 1 n ( n + 3 ) 1 = 1 0 e u cosh 4 u d u = 12 3 π 4 .
On the other hand, from the identity above, we also have
K n = 4 n ( 3 2 n ) 3 n 1 = K n = 1 n ( n + 3 ) 1 4 = 12 3 π 4 5 = 32 15 π 3 π 4 .
Therefore, we solve for the tail continued fraction and conclude
K n = 1 n ( 3 2 n ) 3 n 1 = π + 2 π + 4 ,
which confirms the fifth and final conjecture.
The five continued fraction identities conjectured by the Ramanujan Machine and related to π have now all been rigorously confirmed using Theorem 1 and the integral identity (13). We now turn to another remarkable continued fraction from the Ramanujan Machine, this time involving the constant log 2 .

5.4. A Ramanujan’s Machine Conjecture Involving log2

We now turn to a continued fraction identity involving log 2 , as conjectured by the Ramanujan Machine [3]:
4 + K n = 1 2 n 2 ( n + 1 ) 2 ( n + 1 ) ( 3 n + 4 ) = 1 1 log 2 .
To verify this, we apply Theorem 1 with parameters a = 0 , b = 0 , c = 3 , and α = 0 , which yields β = 1 . Under these values, the continued fraction becomes
K n = 1 n 2 3 = 1 + K n = 1 n ( 2 n + 2 ) 3 n + 4 .
Next, we evaluate the left-hand side using the integral identity (13) with s = 3 and m = 1 , giving
3 + K n = 1 n 2 3 = 1 0 e 3 u cosh u d u = 1 1 log 2 .
On the other hand, applying the rescaling transformation (12), we find
K n = 1 2 n 2 ( n + 1 ) 2 ( n + 1 ) ( 3 n + 4 ) = K n = 1 2 n ( n + 1 ) 3 n + 4 .
Combining the above identities, we obtain
4 + K n = 1 2 n 2 ( n + 1 ) 2 ( n + 1 ) ( 3 n + 4 ) = 4 + K n = 1 2 n ( n + 1 ) 3 n + 4 = 3 + K n = 1 n 2 3 = 1 1 log 2 ,
which confirms the conjectured identity (35).
The examples presented in this section demonstrate the scope and flexibility of the transformation theorems developed earlier. From classical formulas to recently established evaluations, and from conjectural identities proposed by the Ramanujan Machine to explicit representations involving special constants like π and log 2 , our results provide a coherent framework that connects seemingly diverse continued fractions through unified structural transformations.
Beyond confirming individual identities, the approach also offers deeper insight into how different continued fractions may arise from common algebraic templates, further revealing the hidden symmetries and relationships within their parameterizations.
We conclude the paper with a final remark highlighting the potential directions for further generalization and investigation.

6. Concluding Remark

We apply Theorem 2 with parameters a = 0 , b = 1 , c = 1 , and α = 0 , which yields β = 1 . Under these values, we obtain the following continued fraction transformation:
K n = 1 n ( n + 1 ) 1 = 1 + K n = 1 a n 2 n + 3 = 1 1 5 6 7 6 9 15 11 15 13 ,
where the coefficients a n are given by
a 2 n 1 = n ( 2 n 1 ) , a 2 n = ( n + 1 ) ( 2 n + 1 ) , for n 1 .
The numerical value of this continued fraction, as evaluated in Equation (34), is known to be
4 π π 2 .
This example revisits the central continued fraction K n = 1 n ( n + 1 ) 1 that appeared repeatedly in verifying several conjectures proposed by the Ramanujan Machine. While Theorem 1 enabled us to transform such expressions into forms directly evaluable via known integral identities, Theorem 2 provides an alternative but structured representation. In particular, the resulting continued fraction exhibits a striking pattern: the partial numerators alternate in a predictable way, and the partial denominators increase along odd integers.
Our investigation reveals that seemingly irregular continued fractions conjectured through numerical methods often conceal highly structured and analyzable forms. The two transformation theorems developed in this work provide a unified and explicit mechanism to identify these underlying patterns, especially in the context of continued fractions with quadratic numerators and linear or constant denominators.
In addition to validating known identities and recent conjectures, our approach opens the door to the generation and systematic transformation of entire families of continued fractions. In particular, it provides a versatile tool for the following:
  • Producing new formulas for special values such as π , log 2 , or gamma function quotients;
  • Simplifying or reinterpreting identities from experimental discovery platforms like the Ramanujan Machine;
  • Accelerating convergence in numerical evaluations of slowly converging continued fractions.
Furthermore, while the current formulation of our theorems imposes certain algebraic conditions on the parameters, it is worth noting that these constraints can be relaxed. As observed by Jacobsen [12], broader classes of Bauer–Muir type transformations remain valid under weaker hypotheses, particularly when the sign and positivity constraints are lifted or adjusted. This suggests promising avenues for generalization, which interested readers may explore further.
Future directions also include extending our framework to encompass continued fractions with higher-degree polynomial numerators, q-analogues, or multivariate settings. Moreover, the integration of our transformation technique into symbolic computation tools could facilitate the automatic analysis and proof of newly discovered identities.
While these generalizations are promising, handling higher-degree numerators poses added complexity: the application of the Bauer–Muir transform often leads to complicated expressions, and finding suitable sequences x n that yield manageable and simplifiable transformed continued fractions remains a significant challenge.
In conclusion, the transformation theorems presented here offer not only a new lens through which to interpret classical and modern continued fraction identities but also a foundation for further theoretical development and computational exploration.

Author Contributions

Conceptualization, K.-W.C. and C.-H.L.; methodology, K.-W.C.; formal analysis, K.-W.C.; investigation, K.-W.C.; writing—original draft preparation, K.-W.C.; writing—review and editing, K.-W.C. and C.-H.L.; visualization, K.-W.C.; supervision, K.-W.C.; funding acquisition, K.-W.C. All authors have read and agreed to the published version of the manuscript.

Funding

The research of the first author was supported by the National Science and Technology Council, Taiwan, R.O.C., under grant number NSTC 113-2115-M-845-001.

Data Availability Statement

The data supporting the findings of this study are contained within the article. No additional data are available.

Acknowledgments

The authors thank OpenAI’s ChatGPT (GPT-4o, June 2025 release) for assistance in refining the English presentation and polishing certain mathematical explanations in the manuscript. All mathematical content, proofs, and conclusions were developed and verified independently by the authors.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Khrushchev, S. Orthogonal Polynomials and Continued Fractions from Euler’s Point of View; Encyclopedia of Mathematics and Its Applications; Cambridge University Press: Cambridge, UK, 2008; Volume 122. [Google Scholar] [CrossRef]
  2. Belaghi, M.J.S.; Khrushchev, S.; Bashirov, A.E. On Bauer-Muir transform of continued fractions. Int. J. Number Theory 2013, 9, 321–332. [Google Scholar] [CrossRef]
  3. Raayoni, G.; Gottlieb, S.; Manor, Y.; Pisha, G.; Harris, Y.; Mendlovic, U.; Haviv, D.; Hadad, Y.; Kaminer, I. Generating conjectures on fundamental constants with Ramanujan Machine. Nature 2021, 590, 67–73. [Google Scholar] [CrossRef] [PubMed]
  4. Berndt, B.C. Ramanujan’s Notebooks; Part II; Springer: New York, NY, USA, 1989. [Google Scholar] [CrossRef]
  5. Bowman, L.; Mc Laughlin, J. Polynomial continued fractions. Acta Arith. 2002, 103, 329–342. [Google Scholar] [CrossRef]
  6. Cao, X.; Tanigawa, Y.; Zhai, W. Continued fraction formulae involving ratios of three gamma functions. arXiv 2021, arXiv:2111.14143v1. [Google Scholar]
  7. Campbell, J.; Chen, K.-W. Applications of Nörlund’s formula and linear forms for continued fractions. Indian J. Pure Appl. Math. 2025. online first. [Google Scholar] [CrossRef]
  8. Cuyt, A.; Petersen, V.B.; Verdonk, B.; Waadeland, H.; Jones, W.B. Handbook of Continued Fractions for Special Functions; Springer Dordrecht, Springer Science+Business Media B.V.: Dordrecht, The Netherlands, 2008. [Google Scholar] [CrossRef]
  9. Dumont, D. Further triangles of Seidel-Arnold type and continued fractions related to Euler and Springer numbers. Adv. Appl. Math. 1995, 16, 275–296. [Google Scholar] [CrossRef]
  10. Dougherty-Bliss, R.; Zeilberger, D. Automatic conjecturing and proving of exact values of some infinite families of infinite continued fractions. Ramanujan J. 2023, 61, 31–47. [Google Scholar] [CrossRef]
  11. Laohakosol, V.; Meesa, R.; Sutthimat, P. Closed-form solutions of general second order linear recurrences and applications. Discrete Math. 2023, 346, 113206. [Google Scholar] [CrossRef]
  12. Jacobsen, L. On the Bauer-Muir transformation for continued fractions and its applications. J. Math. Anal. Appl. 1990, 152, 496–514. [Google Scholar] [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Chen, K.-W.; Liu, C.-H. Continued Fractions with Quadratic Numerators via the Bauer–Muir Transform. Mathematics 2025, 13, 2332. https://doi.org/10.3390/math13152332

AMA Style

Chen K-W, Liu C-H. Continued Fractions with Quadratic Numerators via the Bauer–Muir Transform. Mathematics. 2025; 13(15):2332. https://doi.org/10.3390/math13152332

Chicago/Turabian Style

Chen, Kwang-Wu, and Chia-Hsin Liu. 2025. "Continued Fractions with Quadratic Numerators via the Bauer–Muir Transform" Mathematics 13, no. 15: 2332. https://doi.org/10.3390/math13152332

APA Style

Chen, K.-W., & Liu, C.-H. (2025). Continued Fractions with Quadratic Numerators via the Bauer–Muir Transform. Mathematics, 13(15), 2332. https://doi.org/10.3390/math13152332

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop