Next Article in Journal
Optimal Design of a High-Speed Flux Reversal Motor with Bonded Rare-Earth Permanent Magnets
Previous Article in Journal
Prognostic and Classification of Dynamic Degradation in a Mechanical System Using Variance Gamma Process
Previous Article in Special Issue
An Over and Underdispersed Biparametric Extension of the Waring Distribution
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Lochs-Type Approach via Entropy in Comparing the Efficiency of Different Continued Fraction Algorithms

by
Dan Lascu
1,*,† and
Gabriela Ileana Sebe
2,3,†
1
Mircea cel Batran Naval Academy, 1 Fulgerului, 900218 Constanta, Romania
2
Faculty of Applied Sciences, Politehnica University of Bucharest, Splaiul Independentei 313, 060042 Bucharest, Romania
3
Gheorghe Mihoc-Caius Iacob Institute of Mathematical Statistics and Applied Mathematics, Calea 13 Sept. 13, 050711 Bucharest, Romania
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Mathematics 2021, 9(3), 255; https://doi.org/10.3390/math9030255
Submission received: 19 December 2020 / Revised: 24 January 2021 / Accepted: 25 January 2021 / Published: 28 January 2021
(This article belongs to the Special Issue Probability, Statistics and Their Applications)

Abstract

:
We investigate the efficiency of several types of continued fraction expansions of a number in the unit interval using a generalization of Lochs theorem from 1964. Thus, we aim to compare the efficiency by describing the rate at which the digits of one number-theoretic expansion determine those of another. We study Chan’s continued fractions, θ -expansions, N-continued fractions, and Rényi-type continued fractions. A central role in fulfilling our goal is played by the entropy of the absolutely continuous invariant probability measures of the associated dynamical systems.

1. Introduction

The purpose of this paper is to compare the efficiency of some continued fractions in approximating a real number in the unit interval. For any irrational x ( 0 , 1 ) , suppose we have two known expansions x = [ a 1 , a 2 , ] 1 and x = [ b 1 , b 2 , ] 2 . A natural question is: Which of these continued fraction expansions is more “efficient”? In mathematical terms, “efficiency” means: Which of the two sequences [ a 1 , a 2 , , a n ] 1 and [ b 1 , b 2 , , b n ] 2 converges more quickly to x as n ? It is therefore relevant to ask how much information (e.g., in terms of the digits in the second expansion) can be determined once we know n digits of the first expansion. Suppose we approximate x by keeping the first n digits of its first expansion. To attain the same degree of accuracy, we need to keep the first m = m ( n , x ) digits of the second expansion. What can we say about the ratio m ( n , x ) / n in general? We show that the relative speed of approximation of two different expansions (almost everywhere) is related to the quotient of the entropies of the transformations that generate these expansions. The strategy used in this paper fits for all pairs of number-theoretic fibered maps (NTFMs) for which the generating partition has finite entropy.

1.1. Motivation

The ancient charms of number theory have been replaced by the modern fascination of an algorithmic thinking. When analytic number theory was being formulated in the nineteenth century, probability theory was not yet a reputable branch of mathematics. Nowadays, probabilistic techniques are routinely used in number theory. The field of probabilistic number theory is currently evolving very rapidly and uses more and more refined probabilistic tools and results. It is well-known that continued fractions lie at the heart of a number of classical algorithms such as Euclid’s greatest common divisor or the lattice reduction algorithm of Gauss [1]. Thus, continued fractions arise naturally in the theory of approximation to real numbers by rationals. To this day, the Gauss map, on which metrical theory of regular continued fraction is based, has fascinated researchers from various branches of mathematics and science, with many applications in computer science, cosmology, and chaos theory. Apart from the regular continued fraction expansion, many other continued fraction expansions have been studied. In the last century, mathematicians broke new ground in this area. Since there are several continued fraction algorithms, we ask ourselves which of them provides the best approximation of a real number. The representation of a real number by a continued fraction can be viewed as a source of information about the number. For this purpose, we need the notion of entropy, a rigorous tool at the crossroads of probability, information theory, and dynamical systems [2,3].

1.2. Entropy

As is well known, entropy is an important concept of information in physics, chemistry, and information theory [4]. The connection between entropy and the transmission of information was first studied by Shannon [5]. Thus, entropy can be seen as a measure of randomness of the system or the average information acquired under a single application of the underlying map. Entropy also plays an important role in ergodic theory. Thus, Shannon’s probabilistic notion of entropy was first introduced into the ergodic theory by Kolmogorov [6] via a measure theoretic approach. The contribution of Kolmogorov to modern dynamics was the discovery of the concept of entropy, which was made rigorous by Sinai [7]. This concept provides an important generalization of Shannon entropy. Kolmogorov–Sinai (K-S) entropy measures the maximal loss of information for the iteration of finite partitions in a measure preserving transformation. The concept has shown its strength through the adequate answers to problems in the classification of dynamical systems. Two metrically isomorphic dynamical systems have the same K-S entropy, so this concept is a tool for distinguishing non-isomorphic (non-conjugate) dynamical systems.
We briefly review this very important concept of K-S entropy in Ergodic Theory. Given a measure preserving system X , X , μ , T , we say α = { A i : i I } is a partition of X if X = i I A i , where A i X for each i I and A i A j = for i j , i , j I . Here, I is a finite or countable index set. For a partition α of X, we define the entropy of the partition α as
H ( α ) : = A α μ ( A ) log μ ( A ) .
In this definition, T does not appear. However, the entropy of the dynamical system is defined by the entropy of the transformation T as follows.
Given a partition α , we consider the partition
α n : = i = 0 n 1 T i α = i = 0 n 1 T i A i : A i α , i = 0 , 1 , , n 1 .
Then, the entropy of transformation T with respect to α is given by
h ( α , T ) : = lim n 1 n H ( α n ) .
The entropy of T is defined as
h ( T ) : = sup h ( α , T ) : α   partition   of   X such   that H ( α ) < .
In general, it does not seem possible to calculate the entropy straight from its definition. First, let us define that a partition α of X is a generator with respect to a non-invertible transformation T if
σ i = 0 T i α = X up   to   sets   of   μ - measure   zero .
In computation of h ( T ) , the K-S Theorem is very useful. For completeness, we recall this theorem. Let α be a partition of X such that H ( α ) < . If α is a generator with respect to T, then h ( T ) = h ( α , T ) .
We also have the following classical Shannon–McMillan–Breiman theorem [8]. Let X , X , μ , T be an ergodic measure preserving system and let α be a finite or countable partition of X satisfying H ( α ) < . The Shannon–McMillan–Breiman theorem says, if A n ( x ) denotes the unique element A n α n such that x A n , then for almost every x X we have:
lim n 1 n log μ ( A n ( x ) ) = h ( α , T ) .
In 1964, Rohlin [9] showed that, when Rényi’s condition is satisfied, the entropy of a μ -measure preserving operator T : X X is given by the formula:
h ( T ) : = X log T ( x ) d μ ( x ) .
The Rény’s condition means that there is a constant C 1 such that
sup x , y T n ( α n ) u n ( x ) u n ( y ) C ,
where u n : = T n α n 1 .

2. Lochs’ Theorem

Expansions that furnish increasingly good approximations to real numbers are usually related to dynamical systems. In 1964, Lochs [10] compared the decimal expansion and the regular continued fraction (RCF) expansion. Although comparing dynamical systems seems difficult, using detailed knowledge of the continued fraction operator, Lochs was able to relate the relative speed of approximation of decimal and regular continued fraction expansions (almost everywhere) to the quotient of the entropies of their dynamical systems. Thus, roughly 97 RCF digits are determined by 100 decimal digits, which indicates that the RCF expansion is slightly more efficient compared to the decimal expansion at representing irrational numbers.

2.1. Decimal Expansions

It is a common known fact that any real number x [ 0 , 1 ) can be written as
x = i = 1 d i ( x ) 10 i ,
where d i = d i ( x ) { 0 , 1 , 2 , , 9 } for i N + : = { 1 , 2 , 3 , } . The representation of x in (9), denoted by x = 0 . d 1 d 2 , is called the decimal expansion of x. We can generate the decimal expansions by iterating the decimal map
T d : [ 0 , 1 ) [ 0 , 1 ) ; T d ( x ) = 10 x 10 x ,
where · denotes the floor (or entire) function. In other words, T d is given by
T d ( x ) = 10 x i if 1 10 x < i + 1 10 , i = 0 , 1 , 2 , , 9 .
Thus, we obtain:
x = d 1 10 + d 2 10 2 + + d n 10 n + T d n ( x ) 10 n ,
where
d 1 = d 1 ( x ) = 10 x
and
d n = d n ( x ) = d 1 T d n 1 ( x ) , n 2 .
Since 0 T d n ( x ) < 1 , we obtain
i = 1 n d i 10 i x as n .

2.2. Regular Continued Fraction Expansions

Beside decimal expansions, there are many other possible representations of real numbers in terms of a sequence of integers. We refer to the regular continued fractions as another famous example. Any irrational number x [ 0 , 1 ) has a unique regular continued fraction expansion
x = 1 a 1 + 1 a 2 + ,
where a n N + for any n 1 . This expansion is obtained by applying repeatedly the Gauss map or the regular continued fraction transformation
T G : [ 0 , 1 ) [ 0 , 1 ) ; T G ( 0 ) = 0 , T G ( x ) = 1 x 1 x .
Therefore, it follows that the digits a 1 , a 2 , are related by
a n = a n ( x ) = a 1 T G n 1 ( x ) , n 2 ,
where
a 1 = a 1 ( x ) = 1 x .
If we denote by [ a 1 , a 2 , ] G the expansion in (16), we have
[ a 1 , a 2 , , a n ] G x as n .

2.3. Comparing the Efficiency of Decimal Expansion and RCF Expansion

In [10], Lochs answered the question which of these developments is more efficient, namely which of the two sequences in (15) and (20) converges more quickly to x as n .
Suppose that the irrational number x ( 0 , 1 ) has the decimal expansion x = 0 . d 1 d 2 and the RCF expansion x = [ a 1 , a 2 , ] G . Let y = 0 . d 1 d 2 d n be the rational number determined by the first n decimal digits of x, and let z = y + 10 n . Then, [ y , z ] is the nth-order decimal cylinder containing x, which we also denote by C n ( x ) . Now, let y = [ b 1 , , b l ] G and z = [ c 1 , c 2 , , c k ] G be the RCF expansions of y and z. Let
m ( n , x ) : = max { i max ( l , k ) : for   all j i , b j = c j } .
In other words, m ( n , x ) is the largest integer such that C n ( x ) D m ( n , x ) ( x ) , where D j ( x ) denotes the jth-order RCF cylinder containing x. Lochs [10] proved that, for almost every irrational x ( 0 , 1 ) , we have
lim n m ( n , x ) n = 6 log 2 log 10 π 2 = 0.97027014
For example, Lochs [11] computed the first 968 RCF digits of π from its first 1000 decimals, and Brent and McMillan [12] computed the first 29,200 RCF digits of Euler–Mascheroni constant from its first 30,100 decimals.

2.4. Extended Lochs’ Theorem

Dajani and Fieldsteel [13] proved a generalization of Lochs’ theorem showing that we can compare any two expansions of numbers which are generated by number-theoretic fibered maps, i.e., surjective interval maps S : [ 0 , 1 ) [ 0 , 1 ) that satisfy the following conditions:
(1)
There exists a finite or countable partition of [ 0 , 1 ) into intervals such that S restricted to each interval is strictly monotonic and continuous.
(2)
S is ergodic with respect to Lebesgue measure λ , and there exists an S invariant probability measure μ equivalent to λ (i.e., μ ( A ) = 0 if and only if λ ( A ) = 0 for all Lebesgue sets A) with bounded density (both d μ d λ and d λ d μ are bounded).
Consider NTFMs S 1 and S 2 on [ 0 , 1 ) with invariant measures μ 1 and μ 2 (equivalent to Lebesgue measure) and with partitions P and Q, respectively. Denote by P n ( x ) the nth-order cylinder that contains x [ 0 , 1 ) (a similar definition for Q n ( x ) ). Let
m S 1 , S 2 ( n , x ) = sup { m : P n ( x ) Q m ( x ) } .
Under the conditions just stated and with the understanding that m S 1 , S 2 ( n , x ) is exactly the number of digits in the S 2 -expansion of x that can be determined from knowing the first n digits in the S 1 -expansion, we have
lim n m S 1 , S 2 ( n , x ) n = h ( S 1 ) h ( S 2 ) λ a . e .
where h ( S 1 ) and h ( S 2 ) denote the entropy of S 1 and S 2 , respectively, with h ( S 1 ) > 0 and h ( S 2 ) > 0 .

3. Other Continued Fraction Expansions

Apart from the RCF expansions, there is a wide variety of continued fraction expansions. Here, we mention only a few of the expansions studied from the metrical point of view by the authors over time, namely Chan’s continued fractions [14,15], θ -expansions [16,17], N-continued fraction expansions [18,19], and Rényi-type continued fraction expansions [20,21,22].
In this paper, we ask the question which of these expansions is more effective. To apply the result of Dajani and Fieldsteel [13] in Section 2.4, we briefly present these expansions, calculating the entropy of each map that generates these expansions.

3.1. Chan’s Continued Fractions

Fix an integer 2 . Then, any x 0 , 1 can be written in the form
x = a 1 ( x ) 1 + ( 1 ) a 2 ( x ) 1 + ( 1 ) a 3 ( x ) 1 + = : [ a 1 ( x ) , a 2 ( x ) , a 3 ( x ) , ] ,
where a n ( x ) s are non-negative integers. Define p , n ( x ) q , n ( x ) : = [ a 1 ( x ) , a 2 ( x ) , , a n ( x ) ] the n-convergent of x by truncating the expansion on the right-hand side of (25), that is,
[ a 1 ( x ) , a 2 ( x ) , , a n ( x ) ] x ( n ) .
This continued fraction is associated with the following transformation T on [ 0 , 1 ] :
T ( x ) : = log x 1 log log x 1 log 1 1 , if x 0 0 , if x = 0 .
We notice that T maps the set of irrationals in [ 0 , 1 ] into itself. For any x ( 0 , 1 ) , put
a n = a n ( x ) = a 1 T n 1 ( x ) , n N + ,
with T 0 ( x ) = x and
a 1 = a 1 ( x ) = log x 1 / log , if x 0 , if x = 0 .
The transformation T which generates the continued fraction expansion (25) is ergodic with respect to an invariant probability measure, G , where
G ( A ) : = k A d x ( ( 1 ) x + 1 ) ( ( 1 ) x + ) , A B [ 0 , 1 ] ,
with
k : = ( 1 ) 2 log 2 / ( 2 1 )
and B [ 0 , 1 ] is the σ -algebra of Borel subsets of [ 0 , 1 ] .
An n-block ( a 1 , a 2 , , a n ) is said to be admissible for the expansion in (25) if there exists x [ 0 , 1 ) such that a i ( x ) = a i for all 1 i n . If ( a 1 , a 2 , , a n ) is an admissible sequence, we call the set
I ( a 1 , a 2 , , a n ) = { x [ 0 , 1 ] : a 1 ( x ) = a 1 , a 2 ( x ) = a 2 , , a n ( x ) = a n } ,
the nth-order cylinder.
Define ( u , i ) i N by
u , i : [ 0 , 1 ] [ 0 , 1 ] ; u , i ( x ) : = i 1 + ( 1 ) x .
For each i N , u , i = T I ( a 1 ) 1 . Let
u , a 1 a 2 a n ( t ) : = u , a 1 u , a 2 u , a n ( t ) = a 1 ( x ) 1 + ( 1 ) a 2 ( x ) 1 + + ( 1 ) a n 1 + ( 1 ) t .
We observe that u , a 1 a 2 a n = T n I ( a 1 , a 2 , , a n ) 1 . Therefore,
I ( a 1 , a 2 , , a n ) = { u , a 1 a n ( t ) : t [ 0 , 1 ) }
which is an interval with the endpoints p , n q , n and p , n + ( 1 ) a n p , n 1 q , n + ( 1 ) a n q , n 1 . Such intervals form a partition of [ 0 , 1 ] .
Before applying Rohlin’s formula, we must check Rényi condition (8). We use directly, without mentioning them here, some properties proved in [14]. Thus, we have
u , a 1 a n ( t ) u , a 1 a n ( r ) = q , n + r ( 1 ) a n q , n 1 q , n + t ( 1 ) a n q , n 1 2 q , n + ( 1 ) a n q , n 1 q , n 2 2 .
Applying Rohlin’s formula (7), we obtain:
h ( T ) = 0 1 log T ( x ) d G = 0 1 log a 1 ( x ) ( 1 ) x 2 d G = 0 1 2 log ( 1 / x ) a 1 ( x ) log log ( 1 ) d G = 2 k 0 1 log ( 1 / x ) ( ( 1 ) x + 1 ) ( ( 1 ) x + ) d x k ( log ) 0 1 a 1 ( x ) ( ( 1 ) x + 1 ) ( ( 1 ) x + ) d x log ( 1 ) .
As examples, we have the values of h ( T ) for different values of and the graph of h ( T ) in Table 1 and Figure 1, respectively.

3.2. θ -Expansions

For a fixed irrational θ ( 0 , 1 ) , we consider a generalization of the Gauss map, T θ : [ 0 , θ ] [ 0 , θ ] defined as
T θ ( x ) : = 1 x θ 1 x θ , if x ( 0 , θ ] , 0 , if x = 0 .
The transformation T θ is connected with the θ -expansion for a number in ( 0 , θ ) as follows. The numbers θ 1 y θ obtained by taking y successively equal to x, T θ ( x ) , T θ 2 ( x ) , …, lead to the θ -expansion of x as
x = 1 ϑ 1 θ + 1 ϑ 2 θ + 1 ϑ 3 θ + = : [ ϑ 1 , ϑ 2 , ϑ 3 , ] θ ,
where ϑ n N + for all n N + . The positive integers ϑ n = ϑ n ( x ) = ϑ 1 T θ n 1 ( x ) , n N + , with T θ 0 ( x ) = x and ϑ 1 = ϑ 1 ( x ) = 1 x θ are called the digits of x with respect to the θ -expansion in (39), and we have that the finite truncation of (39), p θ , n / q θ , n : = [ ϑ 1 , ϑ 2 , , ϑ n ] θ , tends to x as n .
If θ 2 = 1 / s , s N + , the digits ϑ n s take values greater or equal to s, and the transformation T θ is ergodic with respect to an absolutely continuous invariant probability measure
G θ ( A ) : = 1 log 1 + θ 2 A θ d x 1 + x θ , A B [ 0 , 1 ] .
An n-block ( ϑ 1 , ϑ 2 , , ϑ n ) is said to be admissible for the expansion in (39) if there exists x [ 0 , θ ) such that ϑ i ( x ) = ϑ i for all 1 i n . If ( ϑ 1 , ϑ 2 , , ϑ n ) is an admissible sequence, we call the set
I θ ( ϑ 1 , ϑ 2 , , ϑ n ) = { x [ 0 , θ ] : ϑ 1 ( x ) = ϑ 1 , ϑ 2 ( x ) = ϑ 2 , , ϑ n ( x ) = ϑ n } ,
the nth-order cylinder.
Define ( u θ , i ) i s by
u θ , i : [ 0 , θ ] [ 0 , θ ] ; u θ , i ( x ) : = 1 i θ + x .
For each i s , u θ , i = T θ I θ ( a 1 ) 1 . Let
u θ , ϑ 1 ϑ 2 ϑ n ( t ) : = u θ , ϑ 1 u θ , ϑ 2 u θ , ϑ n ( t ) = 1 ϑ 1 θ + 1 ϑ 2 θ + + 1 ϑ n θ + t .
We observe that u θ , ϑ 1 ϑ 2 ϑ n = T θ n I θ ( ϑ 1 , ϑ 2 , , ϑ n ) 1 . Therefore,
I θ ( ϑ 1 , ϑ 2 , , ϑ n ) = { u θ , ϑ 1 ϑ n ( t ) : t [ 0 , θ ) }
which is an interval with the endpoints p θ , n q θ , n and p θ , n + θ p θ , n 1 q θ , n + θ q θ , n 1 . Such intervals form a partition of [ 0 , θ ] .
We now check Rényi condition (8). We use directly, without mentioning them here, some properties proved in [16]. Thus, we have
u θ , ϑ 1 ϑ n ( t ) u θ , ϑ 1 ϑ n ( r ) = q θ , n + r q θ , n 1 q θ , n + t q θ , n 1 2 q θ , n + θ q θ , n 1 q θ , n 2 1 + θ 2 2 .
We compute the entropy h ( T θ ) by the Rohlin’s formula (7):
h ( T θ ) = 0 θ log T θ ( x ) d G θ ( x ) = 0 θ log x 2 log ( 1 + θ 2 ) θ d x 1 + θ x = 2 θ log ( 1 + θ 2 ) 0 θ log x 1 + θ x d x .
As examples, we have the values of h ( T θ ) for different values of s = 1 / θ 2 and the graph of h ( T θ ) in Table 1 and Figure 1, respectively.

3.3. N-Continued Fraction Expansions

Fix an integer N 1 . The measure-theoretical dynamical system ( [ 0 , 1 ] , B [ 0 , 1 ] , T N , G N ) is defined as follows:
T N : [ 0 , 1 ] [ 0 , 1 ] ; T N ( x ) : = N x N x , if x ( 0 , 1 ] , 0 , if x = 0
and
G N ( A ) : = 1 log N + 1 N A d x x + N , A B [ 0 , 1 ] .
The probability measure G N is T N -invariant, and the dynamical system ( [ 0 , 1 ] , B [ 0 , 1 ] , T N , G N ) is ergodic.
For any 0 < x < 1 , put ε 1 ( x ) = N / x and ε n ( x ) = ε 1 T N n 1 ( x ) , n N + , with T N 0 ( x ) = x . Then, every irrational 0 < x < 1 can be written in the form
x = N ε 1 + N ε 2 + N ε 3 + = : [ ε 1 , ε 2 , ε 3 , ] N ,
where ε n s are non-negative integers, ε n N , n N + . We call (49) the N-continued fraction expansion of x and p N , n ( x ) / q N , n ( x ) : = [ ε 1 , ε 2 , , ε n ] N the nth-order convergent of x [ 0 , 1 ] . Then, p N , n ( x ) / q N , n ( x ) x , n .
An n-block ( ε 1 , ε 2 , , ε n ) is said to be admissible for the expansion in (49) if there exists x [ 0 , 1 ) such that ε i ( x ) = ε i for all 1 i n . If ( ε 1 , ε 2 , , ε n ) is an admissible sequence, we call the set
I N ( ε 1 , ε 2 , , ε n ) = { x [ 0 , 1 ] : ε 1 ( x ) = ε 1 , ε 2 ( x ) = ε 2 , , ε n ( x ) = ε n } ,
the nth-order cylinder.
Define ( u N , i ) i N by
u N , i : [ 0 , 1 ] [ 0 , 1 ] ; u N , i ( x ) : = N i + x .
For each i N , u N , i = T N I N ( ε 1 ) 1 . Let
u N , ε 1 ε 2 ε n ( t ) : = u N , ε 1 u N , ε 2 u N , ε n ( t ) = N ε 1 + N ε 2 + + N ε n + t .
We observe that u N , ε 1 ε 2 ε n = T N n I N ( ε 1 , ε 2 , , ε n ) 1 . Therefore,
I N ( ε 1 , ε 2 , , ε n ) = { u N , ε 1 ε n ( t ) : t [ 0 , 1 ] }
which is an interval with the endpoints p N , n q N , n and p N , n + p N , n 1 q N , n + q N , n 1 . Such intervals form a partition of [ 0 , 1 ] .
We now check Rényi condition (8). We use directly, without mentioning them here, some properties proved in [19]. Thus, we have
u N , ε 1 ε n ( t ) u N , ε 1 ε n ( r ) = q N , n + r q N , n 1 q N , n + t q N , n 1 2 q N , n + q N , n 1 q N , n 2 N + 1 N 2 .
Using Rohlin’s entropy formula (7), we have:
h ( T N ) = 0 1 log T N ( x ) d G N ( x ) = 1 log N + 1 N 0 1 log N x 2 x + N d x = π 2 3 + 2 Li 2 ( N + 1 ) + log ( N + 1 ) log N log N + 1 N ,
where Li 2 denotes the dilogarithm function, defined by
Li 2 ( x ) = 0 x ln t 1 t d t or Li 2 ( x ) = k = 1 x k k 2 .
As examples, we have the values of h ( T N ) for different values of N and the graph of h ( T N ) in Table 1 and Figure 1, respectively.

3.4. Rényi-Type Continued Fraction Expansions

Fix an integer N 2 . Let the Rényi-type continued fraction transformation R N : [ 0 , 1 ] [ 0 , 1 ] be given by
R N ( x ) : = N 1 x N 1 x , if x [ 0 , 1 ) , 0 , if x = 1 .
For any irrational x [ 0 , 1 ] , R N generates a new continued fraction expansion of x of the form
x = 1 N 1 + r 1 N 1 + r 2 N 1 + r 3 = : [ r 1 , r 2 , r 3 , ] R .
Here, r n s are non-negative integers greater than or equal to N defined by
r 1 : = r 1 ( x ) = N 1 x , x 1 ; r 1 ( 1 ) =
and
r n : = r n ( x ) = r 1 R N n 1 ( x ) , n 2 ,
with R N 0 ( x ) = x . The sequence of rationals p R , n / q R , n : = [ r 1 , r 2 , , r n ] R , n N + are the convergents to x in [ 0 , 1 ] .
The dynamical system [ 0 , 1 ] , B [ 0 , 1 ] , R N , ρ N is measure preserving and ergodic, where the probability measure ρ N is defined by
ρ N ( A ) : = 1 log N N 1 A d x x + N 1 A B [ 0 , 1 ] .
An n-block ( r 1 , r 2 , , r n ) is said to be admissible for the expansion in (58) if there exists x [ 0 , 1 ) such that r i ( x ) = r i for all 1 i n . If ( r 1 , r 2 , , r n ) is an admissible sequence, we call the set
I R ( r 1 , r 2 , , r n ) = { x [ 0 , 1 ] : r 1 ( x ) = r 1 , r 2 ( x ) = r 2 , , r n ( x ) = r n } ,
the nth-order cylinder.
Define ( u R , i ) i N by
u R , i : [ 0 , 1 ] [ 0 , 1 ] ; u R , i ( x ) : = 1 N i + x .
For each i N , u R , i = R N I R ( r 1 ) 1 . Let
u R , r 1 r 2 r n ( t ) : = u R , r 1 u R , r 2 u R , r n ( t ) = 1 N 1 + r 1 N 1 + r 2 N r n + t .
We observe that u R , r 1 r 2 r n = R N n I R ( r 1 , r 2 , , r n ) 1 . Therefore,
I R ( r 1 , r 2 , , r n ) = { u R , r 1 r n ( t ) : t [ 0 , 1 ] }
which is the interval p R , n p R , n 1 q R , n q R , n 1 , p R , n q R , n . Such intervals form a partition of [ 0 , 1 ] .
Before applying Rohlin’s formula, we must check Rényi condition (8). We use directly, without mentioning them here, some properties proved in [20]. Thus, we have
u R , r 1 r n ( t ) u R , r 1 r n ( r ) = q R , n + ( r 1 ) q R , n 1 q R , n + ( t 1 ) q R , n 1 2 q R , n q R , n q R , n 1 2 N N 1 2 .
The entropy h ( R N ) is given by
h ( R N ) = 0 1 log R N ( x ) d ρ N ( x ) = 1 log N N 1 0 1 log N ( 1 x ) 2 x + N 1 d x = log N + 2 Li 2 1 N log N N 1 ,
where Li 2 is as in (56). As examples, we have the values of h ( R N ) for different values of N and the graph of h ( R N ) in Table 1 and Figure 1, respectively.

4. Comparing the Efficiency of Some Expansions

In this section, we apply the Extended Lochs’ theorem presented in Section 2.4 and compare two by two the expansions presented in the previous section. First, we observe that, for various values of the parameters involved, the entropies h ( T θ ) and h ( T N ) are equal. Since entropy is an isomorphism invariant, we conjecture the following result.
Conjecture 1.
For an irrational θ ( 0 , 1 ) and a non-negative integer N 2 with 1 / θ 2 = N , the transformations T θ in (38) and T N in (47) are isomorphic.
For this reason, we make only the following pairs: N-continued fractions and Chan’s continued fractions, N-continued fractions and Rényi-type continued fractions, and Rényi-type continued fractions and Chan’s continued fractions.
We observe that the transformations T N , T and R N satisfy the two conditions from Extended Lochs’ theorem (see Section 2.4).

4.1. N-Continued Fractions and Chan’s Continued Fractions

Let I N x ( ε 1 , ε 2 , , ε n ) denote the nth-order cylinder of the N-continued fraction that contains x and I x ( a 1 , a 2 , , a m ) denote the mth-order cylinder of the Chan’s continued fraction that contains x. Then,
m N ( n , x ) : = sup m : I N x ( ε 1 , ε 2 , , ε n ) I x ( a 1 , a 2 , , a m )
represents the number of digits in the Chan’s expansion of x in (25) that can be determined from knowing the first n digits in the N-continued fraction in (49). Therefore, applying (24), we have
lim n m N ( n , x ) n = h ( T N ) h ( T )
where h ( T N ) and h ( T ) are as in (55) and (37), respectively. Given the values in Table 1, we observe that N-continued fraction expansion is more effective than Chan’s continued fraction expansion regardless of the values taken by the parameters N and , respectively.
As examples, we have,
lim n m 12 ( n , x ) n = 1.462571953 or lim n m 32 ( n , x ) n = 2.001164812
Thus, roughly, if we approximate a number from the unit interval by keeping the first 1000 digits of the N-continued fraction expansion, to retain the same degree of accuracy, we need to keep about 1462 digits in the Chan’s continued fraction expansion.

4.2. N-Continued Fractions and Rényi-Type Continued Fractions

Let I N x ( ε 1 , ε 2 , , ε n ) denote the nth-order cylinder of the N-continued fraction that contains x and I R x ( r 1 , r 2 , , r m ) denote the mth-order cylinder of the Rényi-type continued fraction that contains x. Then,
m N R ( n , x ) : = sup m : I N x ( ε 1 , ε 2 , , ε n ) I R x ( r 1 , r 2 , , r m )
represents the number of digits in the Rényi-type continued fraction of x in (58) that can be determined from knowing the first n digits in the N-continued fraction in (49). Therefore, applying (24), we have
lim n m N R ( n , x ) n = h ( T N ) h ( R N )
where h ( T N ) and h ( R N ) are as in (55) and (67), respectively. Given the values in Table 1, we observe that N-continued fraction expansion is more effective than Rényi-type continued fraction expansion regardless of the values taken by the parameter N.
We notice that h ( T 1 ) = h ( R 2 ) . We also have
lim n m 33 ( n , x ) n = 1.117745267 or lim n m 55 ( n , x ) n = 1.057649623
As N grows, the entropies are very close, which means that the efficiency of the two continued fraction expansions are about the same.

4.3. Rényi-Type Continued Fractions and Chan’s Continued Fractions

Let I R x ( r 1 , r 2 , , r n ) denote the nth-order cylinder of the Rényi-type continued fraction that contains x and I x ( a 1 , a 2 , , a m ) denote the mth-order cylinder of the Chan’s continued fraction that contains x. Then,
m R ( n , x ) : = sup m : I R x ( r 1 , r 2 , , r n ) I x ( a 1 , a 2 , , a m )
represents the number of digits in the Chan’s continued fraction of x in (25) that can be determined from knowing the first n digits in the Rényi-type continued fraction in (58). Therefore, applying (24), we have
lim n m R ( n , x ) n = h ( R N ) h ( T )
where h ( R N ) and h ( T ) are as in (67) and (37), respectively. Given the values in Table 1, we observe that Rényi-type continued fraction expansion is more effective than Chan’s continued fraction expansion regardless of the values taken by the parameters N and , respectively.
As examples, we have,
lim n m 22 ( n , x ) n = 1.462571953 or lim n m 23 ( n , x ) n = 1.871930586

5. Final Remarks

N-continued fractions are more efficient than Rényi-type continued fractions at representing a number in the unit interval. Since the entropies are h ( T N ) 2.37314 for N 1 , h ( R N ) 2.37314 for N 2 and h ( T G ) = π 2 / ( 6 log 2 ) = 2.37314 , it follows that N-continued fractions and Rényi-type continued fractions are more efficient than regular continued fractions (RCFs). Since the entropy is h ( T ) 1.62258 for 2 , it follows that RCFs are more efficient than Chan’s continued fractions. Thus, N-continued fractions are the most efficient at representing a number in the unit interval, with a very close efficiency being Rényi-type continued fractions.
Our paper is a systematic presentation of continued fraction expansions that have been investigated by us during the last ten years. Having always in view the classical RCF expansion, we consider some interval maps that generate expansions and that admit an invariant density with suitable ergodic properties. However, these ergodic properties, recently studied, are not enough to yield rates of convergence for mixing properties. For this a Gauss–Kuzmin-type theorem is needed. There are still many open questions closely related to this problem. On the other hand, to extend our references list [14,15,16,17,18,19,20,21,22], we consider the opportunity of starting new investigations such as the efficiency of pairs of maps for which the generating partition has finite entropy. In these circumstances, we review sufficient conditions on the latter to belong to a class of number-theoretic fibered maps for which the generating partition has finite entropy.

Author Contributions

All authors contributed equally on writing this paper. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

The authors would like to express their unlimited gratitude to Marius Iosifescu for his entire scientific guidance and dedicate this paper to his memory. In addition, the authors thank the reviewers for carefully reading our manuscript and for giving us such constructive comments. These helped us to improve the quality of the paper.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Iosifescu, M.; Kraaikamp, C. Metrical Theory of Continued Fractions; Kluwer Academic Publishers: Dordrecht, The Netherlands, 2002. [Google Scholar]
  2. Ebrahimzadeh, A.; Giski, Z.E.; Markechová, D. Logical Entropy of Dynamical Systems-A General Model. Mathematics 2017, 5, 4. [Google Scholar] [CrossRef] [Green Version]
  3. Ryabko, B. Low-Entropy Stochastic Processes for Generating k-Distributed and Normal Sequences, and the Relationship of These Processes with Random Number Generators. Mathematics 2019, 7, 838. [Google Scholar] [CrossRef] [Green Version]
  4. Pollicott, M.; Yuri, M. Dynamical Systems and Ergodic Theory; Cambridge University Press: New York, NY, USA, 1998. [Google Scholar]
  5. Shannon, C. A mathematical theory of communication. Bell Syst. Tech. J. 1948, 27, 379–423. [Google Scholar] [CrossRef] [Green Version]
  6. Kolmogorov, A.N. A new metric invariant of transient dynamical systems and automorphisms in Lebesgue spaces. Dokl. Akad. Nauk SSSR 1958, 119, 861–864. [Google Scholar]
  7. Sinai, Y.G. On the notion of entropy of a dynamical system. Dokl. Russ. Acad. Sci. 1959, 124, 768–771. [Google Scholar]
  8. Dajani, K.; Kraaikamp, C. Ergodic Theory of Numbers; Cambridge University Press: New York, NY, USA, 2002. [Google Scholar]
  9. Rohlin, V.A. Exact endomorphisms of a Lebesgue space. Am. Math. Soc. Transl. II Ser. 1964, 39, 1–36. [Google Scholar]
  10. Lochs, G. Vergleich der Genauigkeit von Dezimalbruch und Kettenbruch. Abh. Math. Sem. Hambg. 1964, 27, 142–144. [Google Scholar] [CrossRef]
  11. Lochs, G. Die ersten 968 Kettenbruchnenner von π. Monatsh. Math. 1963, 67, 311–316. [Google Scholar] [CrossRef]
  12. Brent, R.P.; McMillan, E.M. Some new algorithms for highprecision computation of Euler’s constant. Math. Comput. 1980, 34, 305–312. [Google Scholar]
  13. Dajani, K.; Fieldsteel, A. Equipartition of Interval Partitions and an Application to Number Theory. Proc. Am. Math. Soc. 2001, 129, 3453–3460. [Google Scholar] [CrossRef]
  14. Lascu, D. On a Gauss-Kuzmin-type problem for a family of continued fraction expansions. J. Number Theory 2013, 133, 2153–2181. [Google Scholar] [CrossRef]
  15. Sebe, G.I. Convergence rate for a continued fraction expansion related to Fibonacci type sequences. Tokyo J. Math. 2010, 33, 487–497. [Google Scholar] [CrossRef]
  16. Sebe, G.I.; Lascu, D. A Gauss-Kuzmin theorem and related questions for θ-expansions. J. Funct. Spaces 2014, 2014, 1–12. [Google Scholar] [CrossRef] [Green Version]
  17. Sebe, G.I. A near-optimal solution to the Gauss–Kuzmin–Lévy problem for θ-expansions. J. Number Theory 2017, 171, 43–55. [Google Scholar] [CrossRef]
  18. Lascu, D. Dependence with complete connections and the Gauss-Kuzmin theorem for N-continued fractions. J. Math. Anal. Appl. 2016, 444, 610–623. [Google Scholar] [CrossRef] [Green Version]
  19. Sebe, G.I.; Lascu, D. A two-dimensional Gauss–Kuzmin theorem for N-continued fraction expansions. Publ. Math. Debr. 2020, 96, 291–314. [Google Scholar] [CrossRef]
  20. Lascu, D.; Sebe, G.I. A dependence with complete connections approach to generalized Rényi continued fractions. Acta Math. Hung. 2020, 160, 292–313. [Google Scholar] [CrossRef] [Green Version]
  21. Lascu, D.; Sebe, G.I. A Gauss-Kuzmin-Lévy theorem for Rényi-type continued fractions. Acta Arith. 2020, 193, 283–292. [Google Scholar] [CrossRef]
  22. Sebe, G.I.; Lascu, D. Convergence rate for Rényi-type continued fraction expansions. Period. Math. Hung. 2020, 81, 239–249. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Graphs of h ( T ) (black), h ( T θ ) (blue), h ( T N ) (red), and h ( R N ) (orange).
Figure 1. Graphs of h ( T ) (black), h ( T θ ) (blue), h ( T N ) (red), and h ( R N ) (orange).
Mathematics 09 00255 g001
Table 1. Entropies h ( T ) , h ( T θ ) , h ( T N ) and h ( R N ) for different values of the parameters involved.
Table 1. Entropies h ( T ) , h ( T θ ) , h ( T N ) and h ( R N ) for different values of the parameters involved.
h ( T ) s h ( T θ ) N h ( T N ) N h ( R N )
= 2 1.62258 s = 1 2.37314 N = 1 2.37314 N = 2 2.37314
= 3 1.26775 s = 3 3.24705 N = 3 3.24705 N = 3 2.905
= 5 0.996315 s = 5 3.70244 N = 5 3.70244 N = 5 3.50063
= 10 0.765943 s = 10 4.35074 N = 10 4.35074 N = 10 4.25052
= 50 0.476521 s = 50 5.92195 N = 50 5.92195 N = 50 5.90194
= 100 0.406218 s = 100 6.61015 N = 100 6.61015 N = 100 6.60015
= 200 0.350849 s = 1000 8.90825 N = 1000 8.90825 N = 1000 8.90726
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Lascu, D.; Sebe, G.I. A Lochs-Type Approach via Entropy in Comparing the Efficiency of Different Continued Fraction Algorithms. Mathematics 2021, 9, 255. https://doi.org/10.3390/math9030255

AMA Style

Lascu D, Sebe GI. A Lochs-Type Approach via Entropy in Comparing the Efficiency of Different Continued Fraction Algorithms. Mathematics. 2021; 9(3):255. https://doi.org/10.3390/math9030255

Chicago/Turabian Style

Lascu, Dan, and Gabriela Ileana Sebe. 2021. "A Lochs-Type Approach via Entropy in Comparing the Efficiency of Different Continued Fraction Algorithms" Mathematics 9, no. 3: 255. https://doi.org/10.3390/math9030255

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