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 , suppose we have two known expansions and . A natural question is: Which of these continued fraction expansions is more “efficient”? In mathematical terms, “efficiency” means: Which of the two sequences and converges more quickly to x as ? 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 digits of the second expansion. What can we say about the ratio 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
, we say
is a
partition of
X if
, where
for each
and
for
,
. Here,
I is a finite or countable index set. For a partition
of
X, we define
the entropy of the partition as
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
Then,
the entropy of transformation T with respect to
is given by
The entropy of
T is defined as
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
In computation of , the K-S Theorem is very useful. For completeness, we recall this theorem. Let be a partition of X such that . If is a generator with respect to T, then .
We also have the following classical Shannon–McMillan–Breiman theorem [
8]. Let
be an ergodic measure preserving system and let
be a finite or countable partition of
X satisfying
. The Shannon–McMillan–Breiman theorem says, if
denotes the unique element
such that
, then for almost every
we have:
In 1964, Rohlin [
9] showed that, when Rényi’s condition is satisfied, the entropy of a
-measure preserving operator
is given by the formula:
The
Rény’s condition means that there is a constant
such that
where
.
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
can be written as
where
for
. The representation of
x in (
9), denoted by
, is called the
decimal expansion of
x. We can generate the decimal expansions by iterating the
decimal map
where
denotes the floor (or entire) function. In other words,
is given by
Thus, we obtain:
where
and
Since
, we obtain
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
has a unique
regular continued fraction expansion
where
for any
. This expansion is obtained by applying repeatedly the
Gauss map or the
regular continued fraction transformationTherefore, it follows that the digits
are related by
where
If we denote by
the expansion in (
16), we have
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
.
Suppose that the irrational number
has the decimal expansion
and the RCF expansion
. Let
be the rational number determined by the first
n decimal digits of
x, and let
. Then,
is the
nth-order decimal cylinder containing
x, which we also denote by
. Now, let
and
be the RCF expansions of
y and
z. Let
In other words,
is the largest integer such that
, where
denotes the
jth-order RCF cylinder containing
x. Lochs [
10] proved that, for almost every irrational
, we have
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
that satisfy the following conditions:
- (1)
There exists a finite or countable partition of 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., if and only if for all Lebesgue sets A) with bounded density (both and are bounded).
Consider NTFMs
and
on
with invariant measures
and
(equivalent to Lebesgue measure) and with partitions
P and
Q, respectively. Denote by
the
nth-order cylinder that contains
(a similar definition for
). Let
Under the conditions just stated and with the understanding that
is exactly the number of digits in the
-expansion of
x that can be determined from knowing the first
n digits in the
-expansion, we have
where
and
denote the entropy of
and
, respectively, with
and
.
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
. Then, any
can be written in the form
where
s are non-negative integers. Define
the
n-convergent of
x by truncating the expansion on the right-hand side of (
25), that is,
This continued fraction is associated with the following transformation
on
:
We notice that
maps the set of irrationals in
into itself. For any
, put
with
and
The transformation
which generates the continued fraction expansion (
25) is ergodic with respect to an invariant probability measure,
, where
with
and
is the
-algebra of Borel subsets of
.
An
n-block
is said to be
admissible for the expansion in (
25) if there exists
such that
for all
. If
is an admissible sequence, we call the set
the nth-order cylinder.
Define
by
For each
,
. Let
We observe that
. Therefore,
which is an interval with the endpoints
and
. Such intervals form a partition of
.
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
Applying Rohlin’s formula (
7), we obtain:
As examples, we have the values of
for different values of
ℓ and the graph of
in
Table 1 and
Figure 1, respectively.
3.2. -Expansions
For a fixed irrational
, we consider a generalization of the Gauss map,
defined as
The transformation
is connected with the
-expansion for a number in
as follows. The numbers
obtained by taking
y successively equal to
x,
,
, …, lead to the
-expansion of
x as
where
for all
. The positive integers
,
, with
and
are called the
digits of
x with respect to the
-expansion in (
39), and we have that the finite truncation of (
39),
, tends to
x as
.
If
,
, the digits
s take values greater or equal to
s, and the transformation
is ergodic with respect to an absolutely continuous invariant probability measure
An
n-block
is said to be
admissible for the expansion in (
39) if there exists
such that
for all
. If
is an admissible sequence, we call the set
the nth-order cylinder.
Define
by
For each
,
. Let
We observe that
. Therefore,
which is an interval with the endpoints
and
. Such intervals form a partition of
.
We now check Rényi condition (
8). We use directly, without mentioning them here, some properties proved in [
16]. Thus, we have
We compute the entropy
by the Rohlin’s formula (
7):
As examples, we have the values of
for different values of
and the graph of
in
Table 1 and
Figure 1, respectively.
3.3. N-Continued Fraction Expansions
Fix an integer
. The measure-theoretical dynamical system
is defined as follows:
and
The probability measure is -invariant, and the dynamical system is ergodic.
For any
, put
and
,
, with
. Then, every irrational
can be written in the form
where
s are non-negative integers,
,
. We call (
49) the
N-continued fraction expansion of
x and
the
nth-order convergent of
. Then,
,
.
An
n-block
is said to be
admissible for the expansion in (
49) if there exists
such that
for all
. If
is an admissible sequence, we call the set
the nth-order cylinder.
Define
by
For each
,
. Let
We observe that
. Therefore,
which is an interval with the endpoints
and
. Such intervals form a partition of
.
We now check Rényi condition (
8). We use directly, without mentioning them here, some properties proved in [
19]. Thus, we have
Using Rohlin’s entropy formula (
7), we have:
where
denotes the
dilogarithm function, defined by
As examples, we have the values of
for different values of
N and the graph of
in
Table 1 and
Figure 1, respectively.
3.4. Rényi-Type Continued Fraction Expansions
Fix an integer
. Let the
Rényi-type continued fraction transformation be given by
For any irrational
,
generates a new continued fraction expansion of
x of the form
Here,
s are non-negative integers greater than or equal to
N defined by
and
with
. The sequence of rationals
,
are the convergents to
x in
.
The dynamical system
is measure preserving and ergodic, where the probability measure
is defined by
An
n-block
is said to be
admissible for the expansion in (
58) if there exists
such that
for all
. If
is an admissible sequence, we call the set
the nth-order cylinder.
Define
by
For each
,
. Let
We observe that
. Therefore,
which is the interval
. Such intervals form a partition of
.
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
The entropy
is given by
where
is as in (
56). As examples, we have the values of
for different values of
N and the graph of
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
and
are equal. Since entropy is an isomorphism invariant, we conjecture the following result.
Conjecture 1. For an irrationaland a non-negative integerwith, the transformationsin (
38)
and 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
,
and
satisfy the two conditions from Extended Lochs’ theorem (see
Section 2.4).
4.1. N-Continued Fractions and Chan’s Continued Fractions
Let
denote the
nth-order cylinder of the
N-continued fraction that contains
x and
denote the
mth-order cylinder of the Chan’s continued fraction that contains
x. Then,
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
where
and
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.
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
denote the
nth-order cylinder of the
N-continued fraction that contains
x and
denote the
mth-order cylinder of the Rényi-type continued fraction that contains
x. Then,
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
where
and
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
. We also have
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
denote the
nth-order cylinder of the Rényi-type continued fraction that contains
x and
denote the
mth-order cylinder of the Chan’s continued fraction that contains
x. Then,
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
where
and
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.
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 for , for and , it follows that N-continued fractions and Rényi-type continued fractions are more efficient than regular continued fractions (RCFs). Since the entropy is for , 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
- Iosifescu, M.; Kraaikamp, C. Metrical Theory of Continued Fractions; Kluwer Academic Publishers: Dordrecht, The Netherlands, 2002. [Google Scholar]
- Ebrahimzadeh, A.; Giski, Z.E.; Markechová, D. Logical Entropy of Dynamical Systems-A General Model. Mathematics 2017, 5, 4. [Google Scholar] [CrossRef] [Green Version]
- 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]
- Pollicott, M.; Yuri, M. Dynamical Systems and Ergodic Theory; Cambridge University Press: New York, NY, USA, 1998. [Google Scholar]
- Shannon, C. A mathematical theory of communication. Bell Syst. Tech. J. 1948, 27, 379–423. [Google Scholar] [CrossRef] [Green Version]
- 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]
- Sinai, Y.G. On the notion of entropy of a dynamical system. Dokl. Russ. Acad. Sci. 1959, 124, 768–771. [Google Scholar]
- Dajani, K.; Kraaikamp, C. Ergodic Theory of Numbers; Cambridge University Press: New York, NY, USA, 2002. [Google Scholar]
- Rohlin, V.A. Exact endomorphisms of a Lebesgue space. Am. Math. Soc. Transl. II Ser. 1964, 39, 1–36. [Google Scholar]
- Lochs, G. Vergleich der Genauigkeit von Dezimalbruch und Kettenbruch. Abh. Math. Sem. Hambg. 1964, 27, 142–144. [Google Scholar] [CrossRef]
- Lochs, G. Die ersten 968 Kettenbruchnenner von π. Monatsh. Math. 1963, 67, 311–316. [Google Scholar] [CrossRef]
- Brent, R.P.; McMillan, E.M. Some new algorithms for highprecision computation of Euler’s constant. Math. Comput. 1980, 34, 305–312. [Google Scholar]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
| Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).