1 Introduction
The continued fraction expansion of a real number
$x\in \mathbb I:=(0,1)\setminus \mathbb Q$
can be written in the form
$$ \begin{align} x=\cfrac{1}{a_{1}(x)+\cfrac{1}{a_{2}(x)+\cfrac{1}{a_{3}(x)+\ddots}}}=:[a_1(x),a_2(x),a_3(x),\dots], \end{align} $$
where
$a_{1}(x), a_{2}(x),a_{3}(x),\dots $
are positive integers, known as the partial quotients of x. See [Reference Iosifescu and Kraaikamp6] for more details on continued fractions.
In this article, we study the asymptotic behavior for the sum of partial quotients. For any
$x \in \mathbb I$
and
$n \in \mathbb N$
, let
$$ \begin{align*}S_{n}(x):=\sum_{k=1}^{n} a_{k}(x)\end{align*} $$
be the sum of the first n partial quotients of x. In 1935, Khintchine [Reference Khintchine7] proved that
$$ \begin{align} \lim_{n\to \infty} \frac{S_n(x)}{n\log n}= \frac{1}{\log 2}\ \ \ \text{in Lebesgue measure}, \end{align} $$
and pointed out that (1.2) cannot hold almost everywhere. In 1986, Diamond and Vaaler [Reference Diamond and Vaaler1] explained that the obstacle to almost everywhere convergence of (1.2) is the occurrence of the largest term
$\max _{1\leq k\leq n}\{a_k(x)\}$
in the sum
$S_n(x)$
. Precisely, they showed that for Lebesgue almost every
$x\in \mathbb I$
,
$$ \begin{align} \lim_{n\to \infty} \frac{S_n(x)-\max_{1\leq k\leq n}\{a_k(x)\}}{n\log n}=\frac{1}{\log 2}. \end{align} $$
Combining (1.2) and (1.3), we see that for Lebesgue almost every
$x\in \mathbb I$
,
$$ \begin{align} \liminf_{n\to \infty} \frac{S_n(x)}{n\log n} = \frac{1}{\log 2}. \end{align} $$
For its limit superior behavior, Philipp [Reference Philipp12] established that for any sequence
$\{b_n\}_{n \geq 1}$
of positive numbers with
$\{b_n/n\}_{n\geq 1}$
being non-decreasing, the following holds for Lebesgue almost every
$x\in \mathbb I$
:
according to whether the series
$\sum ^\infty _{n=1}1/b_n$
converges or diverges. Consequently, for Lebesgue almost every
$x\in \mathbb I$
,
$$ \begin{align} \limsup_{n\to \infty} \frac{S_n(x)}{n\log n} = \infty. \end{align} $$
We summarize the results of (1.4) and (1.5) in the following theorem.
Theorem 1.1 (Khintchine–Diamond–Vaaler–Philipp’s Theorem)
For Lebesgue almost every
$x\in \mathbb I$
,
$$ \begin{align*} \liminf _{n \rightarrow \infty} \frac{S_{n}(x)}{n \log n}=\frac{1}{\log 2} \quad \text { and } \quad \limsup _{n \rightarrow \infty} \frac{S_{n}(x)}{n \log n}=\infty. \end{align*} $$
Theorem 1.1 demonstrates that, for almost all real numbers, the limit inferior in (1.4) and the limit superior in (1.5) take values of
$\frac {1}{\log 2}$
and infinity, respectively. That is to say, the set of points where the limit inferior and the limit superior assume other values has Lebesgue measure zero. Hence, it is natural to investigate the size of such null sets.
For any
$0 \leq \alpha \leq \beta \leq \infty $
, let
$$ \begin{align*}S(\alpha, \beta):=\left\{x \in \mathbb{I}: \liminf _{n \rightarrow \infty} \frac{S_{n}(x)}{n \log n}=\alpha,\ \limsup _{n \rightarrow \infty} \frac{S_{n}(x)}{n \log n}=\beta\right\}. \end{align*} $$
Baire category (see [Reference Oxtoby11]) and Hausdorff dimension (see [Reference Falconer2]), apart from Lebesgue measure, are common methods for examining the size of sets. A set is said to be of first category if it is represented as a countable union of nowhere dense sets, and a set is called residual if its complement is of first category. In this context, a set of first category is considered “small,” while a residual set is regarded as “large.” We will show that
$S(\alpha ,\beta )$
is residual for
$\alpha =0$
and
$\beta =\infty $
; otherwise, it is of first category. A similar result concerning the behavior of partial quotients is discussed in [Reference Shang and Wu13].
Theorem 1.2 The set
$S(\alpha ,\beta )$
is residual if and only if
$\alpha =0$
and
$\beta =\infty $
.
From Theorems 1.1 and 1.2, we conclude that
$S(\frac {1}{\log 2},\infty )$
has full Lebesgue measure but is of first category. This indicates that
$S(\frac {1}{\log 2},\infty )$
is “large” in terms of Lebesgue measure but “small” from the perspective of Baire category. In contrast, the set
$S(0,\infty )$
is “small” in the sense of Lebesgue measure, but “large” with respect to Baire category.
In the following theorem, we will see that each
$S(\alpha ,\beta )$
is “large” from the viewpoint of Hausdorff dimension.
Theorem 1.3 For any
$0 \leq \alpha \leq \beta \leq \infty $
, we have
$\dim _{\mathrm {H}} S(\alpha ,\beta ) =1$
.
Denote by
$S(\alpha ):=S(\alpha ,\alpha )$
for any
$0\leq \alpha \leq \infty $
. As a consequence of Theorem 1.3, we have that
$S(\alpha )$
has full Hausdorff dimension. This was obtained by Wu and Xu [Reference Wu and Xu15, Theorem 1.4]. Actually, the Hausdorff dimension of
$S_n(x)$
has been extensively studied by many authors (see [Reference Fang, Moreira and Zhang3, Reference Iommi and Jordan5, Reference Liao and Rams9, Reference Wu and Xu15, Reference Xu16] and references therein). Let
$$\begin{align*}S_\varphi:=\left\{x\in \mathbb I: \lim_{n\to \infty} \frac{S_n(x)}{\varphi(n)}=1\right\}, \end{align*}$$
where
$\varphi :\mathbb N \to \mathbb R_{>0}$
is an increasing function satisfying
$\varphi (n) \to \infty $
as
$n\to \infty $
. For the linear case
$\varphi (n)=\gamma n$
with
$\gamma \geq 1$
, Iommi and Jordan [Reference Iommi and Jordan5] established that with respect to
$\gamma $
, the Hausdorff dimension of
$S_\varphi $
is analytic and increasing from
$0$
to
$1$
, and tends to
$1$
as
$\gamma $
goes to infinity. In [Reference Wu and Xu15], Wu and Xu proved that if
$\varphi (n)= n^r$
with
$r \in (1,\infty )$
or
$\varphi (n)=\exp (n^r)$
with
$r\in (0,1/2)$
, then
$S_\varphi $
has full Hausdorff dimension. Later, it was shown by Xu [Reference Xu16] that if
$\varphi (n) =\exp (n)$
, then
$\dim _{\mathrm {H}}S_\varphi =1/2$
. We remark that his proof also applies to the case
$\varphi (n) =\exp (n^r)$
with
$r>1$
, and it implies that the Hausdorff dimension of
$S_\varphi $
remains
$1/2$
. In 2016, Liao and Rams [Reference Liao and Rams9] investigated the Hausdorff dimension of
$S_\varphi $
for the remaining case
$\varphi (n)=\exp (n^r)$
with
$r\in [1/2,1)$
and showed that there is a jump of the Hausdorff dimensions from
$1$
to
$1/2$
at
$r=1/2$
. Recently, the dimension gap was filled by Fang, Moreira, and Zhang [Reference Fang, Moreira and Zhang3].
The rest of the article is organized as follows. In Section 2, we provide the proof of Theorem 1.2. Section 3 is devoted to proving Theorem 1.3. At last, we do similar analyses for the sum of products of consecutive partial quotients in Section 4.
2 Proof of Theorem 1.2
In this section, we consider
$\mathbb {I}$
equipped with the induced topology. Since
$\mathbb {I}$
is a Baire space, it suffices to prove that a set is residual by showing that it contains a dense
$G_{\delta }$
subset (see [Reference Oxtoby11, Theorem 9.2]).
For any
$(a_1,\dots ,a_n) \in \mathbb {N}^n$
, let
It was shown in Theorem 1.2.2 of [Reference Iosifescu and Kraaikamp6] that
$I_{n}(a_1, \dots , a_n) \cap \mathbb I$
is an open interval with rational endpoints in
$\mathbb I$
.
For any
$\gamma \in (0, \infty )$
, define
$$\begin{align*}S_*(\gamma) = \left\{x\in \mathbb{I}: \liminf _{n \rightarrow \infty} \frac{S_{n}(x)}{n \log n} \le \gamma \right\} \end{align*}$$
and
$$\begin{align*}S^*(\gamma) = \left\{x\in \mathbb{I}: \limsup _{n \rightarrow \infty} \frac{S_{n}(x)}{n \log n} \ge \gamma \right\}, \end{align*}$$
and let
$S(\gamma ):=S_*(\gamma )\cap S^*(\gamma )$
.
Lemma 2.1 For any
$\gamma \in (0,\infty )$
, the set
$S(\gamma )$
is dense in
$\mathbb {I}$
.
Proof For any
$\gamma \in (0, \infty )$
, let
$\theta _{n}:=\left \lfloor \gamma \log n\right \rfloor +1$
for all
$n \in \mathbb N$
. Then,
$\left \{\theta _{n}\right \}_{n\geq 1}$
corresponds to a unique irrational number
$x_{0} \in [0,1)$
such that
$a_{n}\left (x_{0}\right )=\theta _{n}$
for all
$n \in \mathbb N$
. Hence,
$$ \begin{align*}\lim _{n \rightarrow \infty} \frac{S_{n}(x_0)}{n \log n} = \gamma, \end{align*} $$
that is,
$x_{0} \in S(\gamma )$
.
Set
Then,
$D\left (x_{0}\right ) \subseteq S(\gamma )$
is dense in
$\mathbb {I}$
. To see this, for any
$x \in \mathbb {I}$
and
$n \in \mathbb N$
, define
$x_{n}$
in terms of the continued fraction expansion as
Then,
$x_{n} \in D\left (x_{0}\right )$
and
$\left |x_{n}-x\right | \to 0$
as
$n \to \infty $
, which implies that
$D\left (x_{0}\right )$
is dense in
$\mathbb {I}$
. Hence,
$S(\gamma )$
is also dense in
$\mathbb I$
.
Lemma 2.2 For any
$\gamma \in (0,\infty )$
, the sets
$S_*(\gamma )$
and
$S^*(\gamma )$
are residual.
Proof Let
$\gamma \in (0,\infty )$
be fixed. It follows from Lemma 2.1 that
$S_*(\gamma )$
and
$S^*(\gamma )$
are dense. To prove that
$S^*(\gamma )$
and
$S_*(\gamma )$
are residual, it suffices to show that they are all
$G_\delta $
sets.
For
$S_*(\gamma )$
, we deduce that
where
$E_n(\gamma , k)$
is given by
We observe that for sufficiently large n,
$E_n(\gamma , k)$
is nonempty and can be written as a countable union of open sets in
$\mathbb {I}$
. More precisely,
where
$(k_1,k_2,\dots ,k_{n})\in \mathbb {N}^{n}$
. Since
$I_{n}\left (k_1,k_2,\dots ,k_{n}\right )$
is an open set in
$\mathbb {I}$
, we have
$E_{n}(\gamma , k)$
is open in
$\mathbb {I}$
, and so
$S_{*}(\gamma )$
is a
$G_{\delta }$
set.
For
$S^*(\gamma )$
, we conclude that
$$\begin{align*}S^*(\gamma) =\bigcap_{k=\lceil 1/\gamma \rceil}^\infty\bigcap_{N=1}^\infty\bigcup_{n=N}^\infty \left\{x\in \mathbb{I}: S_n(x)>\left(\gamma -\dfrac{1}{k}\right)n\log n \right\}, \end{align*}$$
and
$\{x\in \mathbb {I}: S_n(x)>(\gamma -1/k)n\log n\} $
is a countable union of open sets in
$\mathbb {I}$
. Hence,
$S^{*}(\gamma )$
is a
$G_{\delta }$
set.
We are now in a position to prove Theorem 1.2.
Proof of Theorem 1.2
For any
$K \in \mathbb {N}$
, it follows form Lemma 2.2 that
$S_{*}(1 / K)$
and
$S^{*}(K)$
are residual. By the definition of residual set, we see that the countable intersection of residual sets is also residual. Since
$$ \begin{align} \left\{x \in \mathbb{I}: \liminf _{n \rightarrow \infty} \frac{S_{n}(x)}{n \log n}=0\right\}=\bigcap_{K=1}^{\infty} S_{*}(1 / K) \end{align} $$
and
$$ \begin{align} \left\{x \in \mathbb{I}: \limsup _{n \rightarrow \infty} \frac{S_{n}(x)}{n \log n}=\infty\right\}=\bigcap_{K=1}^{\infty} S^{*}(K), \end{align} $$
we derive that the sets on the left-hand side of (2.1) and (2.2) are residual, and so their intersection
$S(0, \infty )$
is residual.
Note that every subset of a set of first category is also of first category. For any
$\alpha>0$
or
$\beta <\infty $
, each
$S(\alpha , \beta )$
is a subset of the complement of
$S(0, \infty )$
, and so
$S(\alpha , \beta )$
is of first category.
Remark 2.3 As suggested by the referee, we provide the following refinement of the result concerning the set in (2.1): for a residual set of values of
$x\in \mathbb I$
, it holds that
In fact, using the arguments in this section, we obtain an analog of Theorem 1.2 for the arithmetic mean of partial quotients: the set
$$\begin{align*}\left\{x \in \mathbb{I}: \liminf _{n \rightarrow \infty} \frac{S_{n}(x)}{n}=\alpha,\ \limsup _{n \rightarrow \infty} \frac{S_{n}(x)}{n}=\beta\right\} \end{align*}$$
is residual if and only if
$\alpha =1$
and
$\beta =\infty $
.
3 Proof of Theorem 1.3
In this section, we prove that
$\operatorname {dim}_{\mathrm {H}} S(\alpha , \beta )=1$
for all
$0 \leq \alpha \leq \beta \leq \infty $
. To this end, we require the following lemma.
Let
$\{n_{k}\}_{k\geq 1}$
and
$\{u_{k}\}_{k\geq 1}$
be sequences of positive integers satisfying
$n_{k} / k \rightarrow \infty $
and
$u_{k} \rightarrow \infty $
as
$k \rightarrow \infty $
. For each
$M \in \mathbb {N}$
, define
Shang and Wu [Reference Shang and Wu14] determined the Hausdorff dimension of
$E_{M}(\{n_{k}\},\{u_{k}\})$
, stated as follows. See [Reference Fang, Moreira and Zhang3, Reference Liao and Rams10] for similar results.
Lemma 3.1 ([Reference Shang and Wu14, Lemma 3.1])
Let
$E_{M}(\{n_{k}\},\{u_{k}\})$
be defined as above. Suppose that
$$ \begin{align} \lim_{k \rightarrow \infty} \frac{1}{n_{k}} \sum_{j=1}^{k} \log u_{j}=0. \end{align} $$
Then,
We will use Lemma 3.1 to show
$\operatorname {dim}_{\mathrm {H}} S(\alpha , \beta )=1$
by choosing suitable sequences
$\{n_{k}\}_{k\geq 1}$
and
$\{u_{k}\}_{k\geq 1}$
according to the values of
$\alpha $
and
$\beta $
.
Proof of Theorem 1.3
The proof is divided into six cases. For convenience, we first introduce some notation. For any
$n \in \mathbb N$
, let
$t(n):= \max \{k \in \mathbb {N}:k^2 \leq n\}$
and
${\phi (n):= 2^{2^{n}}}$
. Then,
$\sqrt {n}-1\leq t(n) \leq \sqrt {n} $
and
$(\phi (n))^2 = \phi (n+1)$
.
In the following, we always take
$n_k:=k^2$
for all
$k \in \mathbb N$
. The definition of
$\{u_k\}_{k\geq 1}$
depends on the values of
$\alpha $
and
$\beta $
.
Case 1:
$ 0 < \alpha \leq \beta < \infty $
. Let
$u_1 := 1$
. For all
$ k \geq 2 $
, let
$$ \begin{align} u_{k}:= \begin{cases} \lceil 4 \alpha k \log k \rceil, & \text{ if } \lceil \log_2 \log_2 k \rceil \text{ is even}; \\ \lceil 4 \beta k \log k \rceil, & \text{ if } \lceil \log_2 \log_2 k \rceil \text{ is odd}. \end{cases} \end{align} $$
Then,
$\left \{n_{k}\right \}$
and
$\left \{u_{k}\right \}$
satisfy condition (3.2). Moreover, we claim that the set
$ S(\alpha , \beta )$
defined in (3.1) is a subset of
$E_{M}(\{n_{k}\},\{u_{k}\})$
. In fact, for any
$x\in E_{M}(\{n_{k}\},\{u_{k}\})$
and for all
$k \in \mathbb N$
, we have
$ 4 \alpha k \log k \leq a_{k^2}(x) < 4 \beta k \log k + 1 $
and
$ 1 \leq a_{j}(x) \leq M $
for all
$ j \neq k^2 $
. For any
$n \in \mathbb N$
, we see that
$$ \begin{align*} S_n(x) \geq \sum_{k=2}^{t(n)} 4 \alpha k \log k \geq 4 \alpha \int_1^{t(n)} x \log x d x =\alpha (t(n))^2\big(2\log t(n)-1\big) \end{align*} $$
and
$$ \begin{align*} \begin{aligned} S_n(x) &< \sum_{k=2}^{t(n)}\left(4 \beta k \log k+1\right)+n M \\ &<4 \beta \int_1^{t(n)+1} x \log x d x +t(n)+nM \\ &= \beta(t(n)+1)^2\big(2\log \left(t(n)+1\right)-1\big)+ t(n)+nM. \end{aligned} \end{align*} $$
Combining this with the fact that
$\sqrt {n}-1\leq t(n) \leq \sqrt {n}$
, we derive that
$$ \begin{align} \alpha \leq \liminf_{n \to \infty} \frac{S_{n}(x)}{n \log n} \leq \limsup_{n \to \infty} \frac{S_{n}(x)}{n \log n} \leq \beta. \end{align} $$
Next, we show that the limit superior and the limit inferior in (3.4) are
$\beta $
and
$\alpha $
, respectively. To this end, consider
$$\begin{align*}\limsup_{m \to \infty} \frac{S_{\phi(2 m)}(x)}{\phi(2 m) \log \phi(2 m)} \end{align*}$$
and
$$\begin{align*}\liminf_{m \to \infty} \frac{S_{\phi(2 m+1)}(x)}{\phi(2 m+1) \log \phi(2 m+1)}. \end{align*}$$
Note that for all k,
-
(1) if
$\phi (2m-2) < k \leq \phi (2m-1)$
, then
$\lceil \log _2 \log _2 k \rceil $
is odd, and so
$a_{k^2}(x) = \lceil 4 \beta k \log k \rceil $
; -
(2) if
$\phi (2m-1) < k \leq \phi (2m)$
, then
$\lceil \log _2 \log _2 k \rceil $
is even, and so
$a_{k^2}(x) = \lceil 4 \alpha k \log k \rceil $
,
and
$ 1 \leq a_{j}(x) \leq M $
for all
$ j \neq k^2$
. On the one hand, it follows from (1) that
$$ \begin{align*} \begin{aligned} S_{\phi(2 m)}(x)& \geq \sum_{k=\phi(2m-2)+1}^{\phi(2m-1)} 4\beta k\log k \\ & \geq 4 \beta \int_{\phi(2 m-2)}^{\phi(2 m-1)} x \log x\,\text{d} x\\ &= \beta (\phi(2 m-1))^2\left(2\log \phi(2 m-1) -1\right) \\ &\quad -\beta (\phi(2 m-2))^2\left(2\log \phi(2 m-2) -1\right). \end{aligned} \end{align*} $$
Note that
$(\phi (n))^2 = \phi (n+1)$
, we have
Since
$$\begin{align*}\lim_{m\to \infty} \frac{\phi(2 m-1)(\log \phi(2 m-1)-1)}{\phi(2 m)(\log \phi(2 m)-1)} =0, \end{align*}$$
we derive that
$$ \begin{align} \limsup_{m \to \infty} \frac{S_{\phi(2 m)}(x)}{\phi(2 m) \log \phi(2 m)} \geq \beta. \end{align} $$
On the other hand, we deduce from (2) that
$$ \begin{align*} \begin{aligned} S_{\phi(2 m+1)}(x) & <\sum_{k=2}^{\phi(2 m)} (4 \alpha k \log k+1)+\sum_{k=2}^{\phi(2 m-1)} (4 \beta k \log k+1)\\ &\quad +\phi(2 m+1) M\\ & < 4 \alpha \int_{k=1}^{\phi(2m)+1} x \log x d x+4\beta\int_{k=1}^{\phi(2m-1)+1} x \log x d x\\ &\quad+\phi(2 m+1)(M+2)\\ & <2\alpha (\phi(2 m)+1)^2\log \left(\phi(2 m)+1\right)\\ &\quad +2\beta (\phi(2 m-1)+1)^2 \log \left(\phi(2 m-1)+1)\right)\\ &\quad +\phi(2 m+1)(M+2). \end{aligned} \end{align*} $$
By the definition of
$\phi (n)$
, we see that
$$\begin{align*}\lim_{m\to \infty} \frac{2(\phi(2 m)+1)^2\log \left(\phi(2 m)+1\right)}{\phi(2 m+1) \log \phi(2 m+1)} =1 \end{align*}$$
and
$$\begin{align*}\lim_{m\to \infty} \frac{(\phi(2 m-1)+1)^2 \log \left(\phi(2 m-1)+1)\right)}{(\phi(2 m)+1)^2\log \left(\phi(2 m)+1\right)} =0, \end{align*}$$
and so
$$ \begin{align} \liminf_{m \to \infty} \frac{S_{\phi(2 m+1)}(x)}{\phi(2 m+1) \log \phi(2 m+1)} \leq \alpha. \end{align} $$
Combining (3.4)–(3.6), we obtain
$$\begin{align*}\liminf_{n \rightarrow \infty} \frac{S_{n}(x)}{n \log n} = \alpha \quad \text{and} \quad \limsup_{n \rightarrow \infty} \frac{S_{n}(x)}{n \log n} = \beta, \end{align*}$$
i.e.,
$ x \in S(\alpha , \beta ) $
. Hence,
$ \operatorname {dim}_{\mathrm {H}} S(\alpha , \beta ) \geq \operatorname {dim}_{\mathrm {H}} E_{M}(\{n_{k}\}, \{u_{k}\}) $
. Letting
$ M \rightarrow \infty $
, we conclude from Lemma 3.1 that
$ \operatorname {dim}_{\mathrm {H}} S(\alpha , \beta ) = 1 $
.
For other cases, when
$ \alpha = 0 $
, replace
$\lceil 4 \alpha k \log k \rceil $
in (3.3) with k; when
$\beta =\infty $
, replace
$\lceil 4 \beta k \log k \rceil $
in (3.3) with
$k^2$
. More precisely,
Case 2:
$\alpha = \beta =0$
. For all
$ k \geq 1 $
, let
$u_k := k$
.
Case 3:
$\alpha =\beta = \infty $
. For all
$ k \geq 1 $
, let
$u_k := k^2 $
.
Case 4:
$ \alpha =0$
and
$\beta = \infty $
. Let
$u_1 := 1$
. For all
$ k \geq 2 $
, let
$$\begin{align*}u_{k} := \begin{cases} k, & \text{ if } \lceil \log_2 \log_2 k \rceil \text{ is even}; \\ k^2, & \text{ if } \lceil \log_2 \log_2 k \rceil \text{ is odd}. \end{cases} \end{align*}$$
Case 5:
$\alpha = 0$
and
$0< \beta < \infty $
. Let
$u_1 := 1$
. For all
$ k \geq 2 $
, let
$$\begin{align*}u_{k} := \begin{cases} k, & \text{ if } \lceil \log_2 \log_2 k \rceil \text{ is even}; \\ \lceil 4 \beta k \log k \rceil, & \text{ if } \lceil \log_2 \log_2 k \rceil \text{ is odd}. \end{cases} \end{align*}$$
Case 6:
$ 0 <\alpha <\infty $
and
$\beta = \infty $
. Let
$u_1 := 1$
. For all
$ k \geq 2 $
, let
$$\begin{align*}u_{k} := \begin{cases} \lceil 4 \alpha k \log k \rceil, & \text{ if } \lceil \log_2 \log_2 k \rceil \text{ is even}; \\ k^2, & \text{ if } \lceil \log_2 \log_2 k \rceil \text{ is odd}. \end{cases} \end{align*}$$
Following the proof in Case 1 step by step, we can similarly derive the same result. The details are omitted here for brevity.
4 The sum of products of consecutive partial quotients
Our results can be extended to include the sum of products of consecutive partial quotients. For any
$x \in \mathbb I$
and
$n \in \mathbb N$
, let
$$\begin{align*}\widetilde{S}_{n}(x):=\sum_{k=1}^{n} a_{k}(x)a_{k+1}(x). \end{align*}$$
The asymptotic behavior of
$\{\widetilde {S}_n(x)\}_{n \geq 1}$
was studied by Hu, Hussain, and Yu [Reference Hu, Hussain and Yu4]. They obtained the Khintchine-type theorem for
$\widetilde {S}_n(x)$
:
$$\begin{align*}\lim_{n \to \infty} \frac{\widetilde{S}_n(x)}{n\log^2 n} = \frac{1}{2\log 2} \ \ \ \text{in Lebesgue measure}, \end{align*}$$
and the Diamond–Vaaler-type theorem for
$\widetilde {S}_n(x)$
: for Lebesgue almost every
$x\in \mathbb I$
,
$$ \begin{align*} \lim_{n\to \infty} \frac{\widetilde{S}_n(x)-\max_{1\leq k\leq n}\{a_k(x)a_{k+1}(x)\}}{n\log^2 n}=\frac{1}{2\log 2}. \end{align*} $$
These two results imply that for Lebesgue almost every
$x\in \mathbb I$
,
$$ \begin{align} \liminf_{n\to \infty} \frac{\widetilde{S}_n(x)}{n\log^2 n}=\frac{1}{2\log 2}. \end{align} $$
For its limit superior, we introduce the zero-one law for products of consecutive partial quotients established by Kleinbock and Wadleigh [Reference Kleinbock and Wadleigh8]. For any
$\Phi :\mathbb N \to [1,\infty )$
with
$\Phi (n) \to \infty $
as
$n \to \infty $
, let
Then, the Lebesgue measure of
$\mathcal {K}(\Phi )$
is zero or one according to whether the series
$\sum ^\infty _{n=1}\frac {\log \Phi (n)}{\Phi (n)}$
converges or diverges. As a result, for
$\Phi (n) =n(\log ^2n) (\log \log n)$
, we see that the Lebesgue measure of
$\mathcal {K}(\Phi )$
is one. Hence, for Lebesgue almost every
$x\in \mathbb I$
,
$$ \begin{align} \limsup_{n\to \infty} \frac{\widetilde{S}_n(x)}{n\log^2 n}=\infty. \end{align} $$
In light of (4.1) and (4.2), we have the following theorem.
Theorem 4.1 (Kleinbock–Wadleigh–Hu–Hussain–Yu’s Theorem)
For Lebesgue almost every
$x\in \mathbb I$
,
$$\begin{align*}\liminf_{n\to \infty} \frac{\widetilde{S}_n(x)}{n\log^2 n}=\frac{1}{2\log 2} \quad \text{and} \quad \limsup_{n\to \infty} \frac{\widetilde{S}_n(x)}{n\log^2 n}=\infty. \end{align*}$$
In what follows, we study the Baire category and Hausdorff dimension of
$\widetilde {S}_n(x)$
. For any
$0 \leq \alpha \leq \beta \leq \infty $
, let
$$ \begin{align*}\widetilde{S}(\alpha, \beta):=\left\{x \in \mathbb{I}: \liminf _{n \rightarrow \infty} \frac{\widetilde{S}_{n}(x)}{n \log^2 n}=\alpha,\ \limsup _{n \rightarrow \infty} \frac{\widetilde{S}_{n}(x)}{n \log^2 n}=\beta\right\}. \end{align*} $$
Using a method similar to that employed in Theorem 1.2, we obtain the necessary and sufficient conditions for
$\widetilde {S}(\alpha , \beta )$
to be residual.
Theorem 4.2 The set
$\widetilde {S}(\alpha ,\beta )$
is residual if and only if
$\alpha =0$
and
$\beta =\infty $
.
We end this section with the Hausdorff dimension of
$\widetilde {S}(\alpha ,\beta )$
.
Theorem 4.3 For any
$0 \leq \alpha \leq \beta \leq \infty $
, we have
$\dim _{\mathrm {H}} \widetilde {S}(\alpha ,\beta ) =1$
.
To prove Theorem 4.3, we first give a result analogous to Lemma 3.1.
Let
$\left \{\omega _{k}\right \}_{k\geq 1}$
,
$\left \{b_{k}\right \}_{k\geq 1}$
, and
$\left \{c_{k}\right \}_{k\geq 1}$
be sequences of positive integers satisfying
$\omega _{k} / k \rightarrow \infty $
,
$b_{k} \rightarrow \infty $
, and
$c_{k} \rightarrow \infty $
as
$k \rightarrow \infty $
. For each
$M \in \mathbb {N}$
, define
$$ \begin{align*} E_{M}(\{\omega_{k}\},\{b_{k}\},\{c_{k}\}):=\Big\{x \in \mathbb{I}:\ & a_{\omega_{k}}(x)=b_{k};\, a_{\omega_{k}+1}(x)=c_{k};\\ &1 \leq a_{j} \leq M\left(j \neq \omega_{k},\omega_{k}+1 \right), \forall k \in \mathbb{N}\Big\}. \end{align*} $$
The Hausdorff dimension of
$E_{M}(\{\omega _{k}\},\{b_{k}\},\{c_{k}\})$
is as follows.
Lemma 4.4 Let
$E_{M}(\{\omega _{k}\},\{b_{k}\},\{c_{k}\})$
be defined as above. Assume that
$$ \begin{align} \lim _{k \rightarrow \infty} \frac{1}{\omega_{k}} \sum_{j=1}^{k} \log \left(b_{j}c_{j}\right)=0. \end{align} $$
Then,
Proof This result can be regarded as a consequence of Lemma 3.1. To see this, define
$\{n_k\}_{k\geq 1}$
and
$\{u_k\}_{k\geq 1}$
as follows: for any
$k \in \mathbb N$
,
$$\begin{align*}\begin{aligned} &\left\{ \begin{array}{@{}l} n_{2k-1}:= \omega_k, \\ n_{2k}:= \omega_k + 1, \end{array} \right. \quad \text{and} \quad \left\{ \begin{array}{@{}l} u_{2k-1}:= b_k, \\ u_{2k}:= c_k. \end{array} \right. \end{aligned} \end{align*}$$
Then,
$E_{M}(\{\omega _{k}\},\{b_{k}\},\{c_{k}\}) = E_{M}(\{n_{k}\},\{u_{k}\})$
. Since
$ \omega _k / k \to \infty $
as
$k \rightarrow \infty $
, it follows that
$ n_k / k \to \infty $
as
$ k \to \infty $
. Moreover,
$$\begin{align*}\begin{aligned} \lim_{k \to \infty} \frac{1}{n_{2k}} \sum_{j=1}^{2k} \log u_j &= \lim_{k \to \infty} \frac{1}{\omega_k + 1} \sum_{j=1}^k \left(\log b_j + \log c_j\right) \\ &= \lim_{k \to \infty} \frac{\omega_k}{\omega_k + 1} \cdot \frac{1}{\omega_k} \sum_{j=1}^k \log \left(b_j c_j\right) \\ &= 0, \end{aligned} \end{align*}$$
and
$$\begin{align*}\begin{aligned} \lim_{k \to \infty} \frac{1}{n_{2k-1}} \sum_{j=1}^{2k-1} \log u_j &= \lim_{k \to \infty} \frac{1}{\omega_k} \left( \sum_{j=1}^{k-1} \left(\log b_j + \log c_j\right) + \log b_j \right) \\ &\leq \lim_{k \to \infty} \frac{1}{\omega_k} \sum_{j=1}^k \left(\log b_j + \log c_j\right). \\ &= 0. \end{aligned} \end{align*}$$
Thus,
$\{n_k\}_{k\geq 1}$
and
$\{u_k\}_{k\geq 1}$
satisfy condition (3.2). By Lemma 3.1, we derive that
The proof is completed.
We are now in a position to show that
$\operatorname {dim}_{\mathrm {H}} \widetilde {S}(\alpha , \beta )=1$
by using Lemma 4.4.
Proof of Theorem 4.3
We only give the proof for the case where
$0 < \alpha \leq \beta < \infty $
. Let
$\omega _1 = b_1 = c_1 :=1$
. For all
$ k \geq 2 $
, let
$\omega _k := k^2$
,
$$ \begin{align} b_{k} := \begin{cases} \lceil 8 \alpha k \log k \rceil, & \text{ if } \lceil \log_2 \log_2 k \rceil \text{ is even}; \\ \lceil 8 \beta k \log k \rceil, & \text{ if } \lceil \log_2 \log_2 k \rceil \text{ is odd}, \end{cases} \end{align} $$
and
$c_k := \lfloor \log k \rfloor $
. Then,
$\{\omega _{k}\}_{k\geq 1}, \{b_{k}\}_{k\geq 1}$
, and
$\{c_{k}\}_{k\geq 1}$
satisfy condition (4.3). Moreover, we claim that
$E_{M}(\{\omega _{k}\},\{b_{k}\},\{c_{k}\})$
is a subset of
$ \widetilde {S}(\alpha , \beta )$
. In fact, for any
$x\in E_{M}(\{\omega _{k}\},\{b_{k}\},\{c_{k}\})$
, we see that
$ 8 \alpha k \log k \leq a_{k^2}(x) \leq 8 \beta k \log k + 1 $
,
$ \log k -1 \leq a_{k^2+1}(x) \leq \log k $
, and
$ 1 \leq a_{j}(x) \leq M $
for all
$ j \notin \{k^2, k^2+1\}$
. Hence,
$$ \begin{align*} \widetilde{S}_n(x) \geq \sum_{k=2}^{t(n)}8 \alpha k \log k(\log k-1) \geq 8 \alpha\int_1^{t(n)}\left( x \log ^2 x d x - x\log x \right)d x, \end{align*} $$
and
$$ \begin{align*} \begin{aligned} \widetilde{S}_n(x) &\leq \sum_{k=2}^{t(n)} (8 \beta k \log k+1) \log k+M\sum_{k=2}^{t(n)}(8 \beta k \log k+\log k +1) +n M^2 \\ & \leq \int_1^{t(n)+1}\left(8 \beta x \log^2 x+8 M \beta x \log x +(M+1)\log x \right)d x + nM(M+1). \end{aligned} \end{align*} $$
Our analysis focuses exclusively on the main term of the integral, since the contributions from the integrals of the remaining terms are negligible, being infinitesimal of the order
$ n \log ^2 n $
. Since
$\sqrt {n}-1\leq t(n) \leq \sqrt {n}$
and
we deduce that
$$ \begin{align} \alpha \leq \liminf_{n \to \infty} \frac{\widetilde{S}_{n}(x)}{n \log^2 n} \leq \limsup_{n \to \infty} \frac{\widetilde{S}_{n}(x)}{n \log^2 n} \leq \beta. \end{align} $$
Note that for all
$k \in \mathbb {N}$
,
-
(1) if
$\phi (2m-1) < k \leq \phi (2m)$
, then
$\lceil \log _2 \log _2 k \rceil $
is even, and so
$a_{k^2}(x) = \lceil 8 \alpha k \log k \rceil $
and
$a_{k^2+1}(x) = \lfloor \log k \rfloor $
; -
(2) if
$\phi (2m) < k \leq \phi (2m+1)$
, then
$\lceil \log _2 \log _2 k \rceil $
is odd, and so
$a_{k^2}(x) = \lceil 8 \beta k \log k \rceil $
and
$a_{k^2+1}(x) = \lfloor \log k \rfloor $
,
and
$ 1 \leq a_{j}(x) \leq M $
for all
$ j \notin \{k^2, k^2+1\}$
. Thus,
$$ \begin{align*} \begin{aligned} \widetilde{S}_{\phi(2 m)}(x)& \geq\sum_{k=\phi(2 m-2)+1}^{\phi(2 m-1)} 8 \beta k \log k (\log k-1)\\ & = 8\beta \int_{\phi(2 m-2)}^{\phi(2 m-1)} \left( x \log ^2 x d x- \log x \right) d x. \end{aligned} \end{align*} $$
By (4.5) and the definition of
$\phi (n)$
, we obtain
$$ \begin{align} \limsup_{m \to \infty} \frac{\widetilde{S}_{\phi(2 m)}(x)}{\phi(2 m) \log^2 \phi(2 m)} \geq \beta. \end{align} $$
Similarly, we can derive that
$$ \begin{align} \liminf_{m \to \infty} \frac{\widetilde{S}_{\phi(2 m+1)}(x)}{\phi(2 m+1) \log^2 \phi(2 m+1)} \leq \alpha. \end{align} $$
Combining (4.6)–(4.8), we conclude that
$$\begin{align*}\liminf _{n \rightarrow \infty} \frac{\widetilde{S}_{n}(x)}{n \log^2 n}=\alpha\quad \text{and}\quad \limsup _{n \rightarrow \infty} \frac{\widetilde{S}_{n}(x)}{n \log^2 n}=\beta, \end{align*}$$
i.e.,
$x\in \widetilde {S}(\alpha ,\beta )$
. So
$\operatorname {dim}_{\mathrm {H}} \widetilde {S}(\alpha ,\beta ) \geq \operatorname {dim}_{\mathrm {H}} E_{M}(\{\omega _{k}\},\{b_{k}\},\{c_{k}\})$
. Letting
$ M \rightarrow \infty $
, it follows from Lemma 4.4 that
$ \operatorname {dim}_{\mathrm {H}} \widetilde {S}(\alpha ,\beta ) = 1 $
.
Acknowledgments
The authors would like to thank the anonymous reviewers for their valuable comments and suggestions, which have greatly improved the quality of this manuscript.





