Professional Documents
Culture Documents
2008 00050
2008 00050
Abstract. This paper investigates the periodic points of the Gauss type shifts associated to
the even continued fraction (Schweiger) and to the backward continued fraction (Rényi). We
arXiv:2008.00050v2 [math.DS] 7 Aug 2020
show that they coincide exactly with two sets of quadratic irrationals that we call E-reduced,
and respectively B-reduced. We prove that these numbers are equidistributed with respect to
the (infinite) Lebesgue absolutely continuous invariant measures of the corresponding Gauss
shift.
1. Introduction
Euclidean algorithms and their associated continued fraction expansions generate interesting
examples of (non-invertible) measure preserving transformations, called Gauss shifts. The best
known is the Gauss map
1 1 1
T : [0, 1) −→ [0, 1), T (x) := = − if x 6= 0, T (0) := 0,
x x x
associated with the RCF (regular continued fraction) expansion
1
x = [a1 , a2 , . . .] := , ai ∈ N.
1
a1 +
1
a2 +
..
.
On such expansions T acts as a one-sided shift
T ([a1 , a2 , . . .]) = [a2 , a3 , . . .]. (1.1)
1 1
The digits of x are fully recaptured by the T -iterates of x as a1 = x , an+1 = T n (x) , n ≥ 1.
dx
It was discovered by Gauss that the probability measure µG := (1+x) log 2 is
T -invariant. The
endomorphism T is exact in the sense of Rohlin. The measure µG is the unique Lebesgue
absolutely continuous T -invariant probability measure. For a comprehensive presentation of the
ergodic properties of T we refer to [19].
Equality (1.1) shows that the periodic points of T are precisely the reduced quadratic irra-
tionals in [0, 1), i.e. the numbers with periodic RCF-representation ω = [ a1 , . . . , an ]. These are
known to coincide with the quadratic irrationals ω ∈ [0, 1) with conjugate ω ∗ ∈ (−∞, −1]. An
important connection between ω and ω ∗ is provided by the Galois formula ([13])
1
[ a1 , . . . , a n ]∗ = − . (1.2)
[ an , . . . , a 1 ]
Reduced quadratic irrationals are naturally ordered by their length
%(ω) := 2 log 0 (ω),
In Vallée’s classification of Euclidean algorithms ([35, 36]), the MSB (most significant bits)
class is given special attention. There are six CF (continued fraction) MSB algorithms, denoted
by (G), (M), (K), (E), (O), (T). In our terminology they are: (G) ←→ RCF (regular CF), (M)
PERIODIC POINTS OF CERTAIN GAUSS SHIFTS WITH INFINITE INVARIANT MEASURE 3
←→ BCF (backward CF), (K) ←→ NICF (nearest integer CF), (E) ←→ ECF (even CF), (O)
←→ OCF (odd CF), (T) ←→ LCF (Lehner CF). The Gauss map corresponding to type (T)
x
is given by V (x) := 1−x if x ∈ [0, 12 ] and V (x) := 1−x 1
x if x ∈ [ 2 , 1]. This is the familiar Farey
map on [0, 1]. It was observed in [10] that conjugating by x 7→ x + 1 one gets the Gauss map
of the Lehner CF on the interval [1, 2], which involves only the digits (1, +1) and (2, −1) (see
also [22] for a geometric approach). The algorithms (M), (E) and (T) are “slow” and belong to
the “Bad Class” (see Section 2.5 of [36]). Incidentally, their associated Gauss shifts have infinite
invariant measure, which makes a Perron-Frobenius operator approach as in [2, 15, 18, 25] more
challenging.
The analogue of Pollicott’s problem for the Farey map has been already thoroughly studied
by Heersink ([15], see also [26] for a broader scenery). Building on Pollicott’s approach, the
equidistribution of the periodic points of the Farey map, and also of its natural extension, with
respect to their (infinite) invariant measures have been established in [15].
In this paper we prove this kind of results in the situations (B) and (E). Here we prefer to
work with ECF and BCF-expansions of numbers in [1, ∞) \ Q rather than [0, 1] \ Q. Definitions
and results can be easily formulated on [0, 1] by conjugating by x 7→ x1 . An operator theoretical
approach appears to be complicated, the main difficulty being to find an appropriate invariant
space of analytic functions under the corresponding Perron-Frobenius operator. For this reason
we will employ a direct number theoretical approach.
Every irrational number u > 1 has a unique ECF-expansion
e1
u = [(a1 , e1 ), (a2 , e2 ), . . .] := a1 + ≥ 1, (1.6)
e2
a2 +
a3 + · · ·
where ai ∈ 2N and ei ∈ {±1}. The corresponding ECF Gauss shift TE acts on [1, ∞) \ Q by
TE ([(a1 , e1 ), (a2 , e2 ), . . .]) = [(a2 , e2 ), (a3 , e3 ), . . .]. In different notation we have
0 e1 e1
TE (u) = u= ,
1 −a1 u − a1
where a1 = a1 (u) = 2 u+1
2 ∈ 2N and e1 = e1 (u) = sgn(u − a1 (u)) ∈ {±1}. The infinite measure
R1 −2 2du
is TE -invariant. By conjugating by J(x) := x1 , one gets
µE = −1 (u − v) dv du = (u−1)(u+1)
the customary ECF Gauss map T E := J −1 TE J ([20, 28, 29]), which acts on [0, 1] as
1 x + 1
T E (x) = − 2
if x 6= 0, T E (0) := 0, (1.7)
x 2x
2dx
with invariant measure νE = J∗ µE = (1−x)(1+x) . Equivalently, T E acts as a shift on ECF-
expansions
T E ([(a1 , e1 ), (a2 , e2 ), (a3 , e3 ), . . .]) = [(a2 , e2 ), (a3 , e3 ), . . .].
The periodic points of TE are exactly the irrationals with periodic ECF-expansion ω =
[ (a1 , e1 ), . . . , (an , en ) ]. In Section 2 we will show that these are exactly the elements of the
set RE of quadratic irrationals ω > 1 with ω ∗ ∈ [−1, 1], which we call E-reduced quadratic irra-
tionals. To define the length of ω = [ (a1 , e1 ), . . . , (an , en ) ] ∈ RE with n = per(ω), we introduce
the matrices
(
ΩE (ω) :=
a1 e1
···
an en
, Ω e E (ω) := ΩE (ω) if (−e1 ) · · · (−en ) = +1 (1.8)
1 0 1 0 ΩE (ω)2 if (−e1 ) · · · (−en ) = −1,
then set
%E (ω) := 2 log R(Ω
e E (ω)), ω ∈ RE .
4 FLORIN P. BOCA AND MARIA SISKAKI
Denote
1 0 0 1
I2 := , J2 := .
0 1 1 0
Consider the Theta groups Θ e := {σ ∈ PGL(2, Z) | σ ≡ I2 or J2 (mod 2)} and Θ := Θ e ∩
PSL(2, Z). In the RCF case, the stabilizer {σ ∈ PGL(2, Z) | σω = ω} of a reduced quadratic
irrational ω is used to produce solutions of the Pell equations u2 − ∆v 2 = ±4 (see. e.g., [14, 23]).
In Section 3 we discuss the connection obtained by replacing reduced quadratic irrationals by
E-reduced quadratic irrationals and the group PGL(2, Z) by its subgroup Θ. e
The closed primitive geodesics on the modular surface Θ\H correspond exactly (cf. [5]) to
those closed geodesics that lift to a geodesic on H with endpoints
∗
γ+∞ = e[ (a1 , e1 ), . . . , (an , en ) ] and γ−∞ = γ+∞ ,
for some e ∈ {±1}, and also with
(−e1 ) . . . (−en ) = 1.
This shows that the E-reduced quadratic irrationals are naturally ordered through %E . For every
α, β1 , β2 ≥ 1, N ∈ N, set
X
rE (α, β1 , β2 ; R) := 1. (1.9)
ω∈RE , %E (ω)≤R
ω≥α, − β1 ≤ω ∗ ≤ β1
2 1
We will prove the following results concerning the distribution of periodic points of TE :
Theorem 1. For every α, β1 , β2 ≥ 1 with (α, β1 ) 6= (1, 1),
rE (α, β1 , β2 ; R) = C(α, β1 , β2 )eR + Oα,β1 ,ε (e(3/4+ε)R ), ∀ε > 0,
where
ZZ
1 αβ2 + 1 αβ1 1 du dv
C(α, β1 , β2 ) = 2 log · = .
π αβ2 αβ1 − 1 π2 [α,∞)×[− β1 , β1 ] (u − v)2
2 1
X eR log 2
Corollary 3. 1= + Oε (e(3/4+ε)R ).
π2
ω∈RE , ω ∗ <0
%E (ω)≤R
We will prove the following results concerning the distribution of periodic points of TB :
Theorem 4. For every α, β ≥ 1 with (α, β) 6= (1, 1),
eR
ZZ
du dv
rB (α, β; R) = + Oα,β1 ,ε (e(3/4+ε)R ), ∀ε > 0.
2ζ(2) [α,∞)×[0,1/β] (u − v)2
Corollary 5. For every α > 1,
X eR α
1= log + Oε (e(3/4+ε)R )
2ζ(2) α−1
ω∈RB , ω≥α
%B (ω)≤R
eR
Z
du
= + Oα,ε (e(3/4+ε)R ).
2ζ(2) [α,∞) u(u − 1)
A shorter proof can be achieved without the analytic number theoretical estimates (5.7)
and (5.8), but with the price of getting an error term Oε (e(7/8+ε)R ) instead of Oε (e(3/4+ε)R ) in
Theorems 1 and 4.
Our approach should likely apply to the remaining situations of (good) MSB Euclidean algo-
rithms of type (K) and (O). We are planning to study this in further work.
From general ergodic theoretical considerations ([5]), the infinite measure (u − v)−2 dudv is
R1
TeE -invariant, while dµE = −1 (u − v)−2 dv du = (u−1)(u+1)
2du
is TE -invariant.
Conjugating through J(x) := x1 , one gets the customary ECF Gauss map T E := J −1 TE J
([28, 29, 20, 8]), which acts on [0, 1] as in formula (1.7), with invariant measure νE = J∗ µE =
2dx
(1−x)(1+x) . The endomorphism T E is exact in Rohlin’s sense (this can be proved exactly as in the
ECF situation using the approach from [30]), and νE is the unique σ-finite Lebesgue absolutely
continuous T E -invariant measure.
PERIODIC POINTS OF CERTAIN GAUSS SHIFTS WITH INFINITE INVARIANT MEASURE 7
Denote by N(u) and respectively tr(u) the norm and trace of the quadratic irrational u in the
associated quadratic field.
Lemma 8. Let G be a subgroup of PGL(2, Z) = GL(2, Z)/{±I}. For every quadratic irrational
ω, the map
E E a b
Λω : Gω −→ R, Λω := cω + d,
c d
defines an injective group homomorphism on Gω := {σ ∈ G | σω = ω} with N ◦ ΛE ω = det and
tr ◦ ΛE
ω = Tr.
0 0
Proof. Let σ = ac db ∈ G and σ 0 = ac0 db 0 ∈ Gω . By definition, ΛE
ω maps the product matrix
σσ 0 into (a0 c + c0 d)ω + b0 c + d0 d. This coincides with (cω + d)(c0 ω + d0 ) = ΛE E 0
ω (σ)Λω (σ ) as a result
a0 ω+b0
of c0 ω+d0 = ω.
Let σ ∈ Ker(ΛE ω ) with c ≥ 0, so cω + d = 1. The irrationality of ω yields c = 0 and d = 1.
Then ω = aω + b, hence a = 1 and b = 0.
The equalities N ◦ ΛE E ∗ ∗
ω = det and tr ◦ Λω = Tr follow from (cω + d) = cω + d.
In the sequel we will consider an ECF-periodic quadratic irrational ω = [ (a1 , e1 ), . . . , (an , en ) ] >
1 with n = per(ω). Set
(
n if δn = +1
δn = δ(ω) := (−e1 ) · · · (−en ), ` = eper(ω) :=
2n if δn = −1,
pn pn−1 en
ΩE (ω) := Ωn (ω) = M (a1 , e1 ) · · · M (an , en ) = ,
qn qn−1 en
(
Ωe E (ω) := ΩE (ω) if δn = +1
ΩE (ω)2 if δn = −1.
Employing (2.4), Lemma 7, TEn (ω) = ω, and δ` = +1, we infer that the spectral radius of Ω e E (ω)
is
e E (ω)) = ωTE (ω) · · · T eper(ω)−1 (ω) = q` ω + q`−1 e` = 1
R(Ω E > 1.
p ` − q` ω
As it will be seen later, formula (2.4) provides an ECF-analogue of Smith’s formula ([32]).
An ECF-analogue of the Galois formula for regular continued fractions has been proved in
a different way in [5] and [20]. Next we give yet another proof, using our setting and the dual
ECF-expansion on [−1, 1] ([28, 29]).
It remains to show that if k ≥ 1 and TEk (ω) = TEk+n (ω), then TEk−1 (ω) = TEk+n−1 (ω). Set
ωi := TEi (ω). By Lemma 12, ωk−1 = [(ak , ek ), ωk ] = ak + ωekk ∈ RE (∆), whence ωk−1
∗ = ak + ωek∗ ∈
k
e
(−1, 1). Similarly, from ωk+n−1 = [(ak+n , ek+n ), ωk+n ] = ak+n + ωk+n
k+n
and ωk+n ∈ RE (∆) it
∗ ek+n ∗ ∗
follows that ωk+n−1 = ak+n + ω∗ ∈ (−1, 1). But ωk = ωk+n entails ωk = ωk+n =: β ∈ (−1, 1),
k+n
ek ek+n
and thus −1 < ak + β < 1 and −1 < ak+n + β < 1, or equivalently
1 1
ek ak , ek+n ak+n ∈ − 1 − ,1 − .
β β
Since ak and ak+n are even, this gives (ak , ek ) = (ak+n , ek+n ). Letting k decrease by one (unless
k = 0), one finds ω = TEn (ω), showing that ECF (ω) is periodic.
(ii) ⇐⇒ (iii) follows from the first equality in (2.3).
The ECF version of Lagrange’s theorem is well known. It also holds for larger classes of
continued fractions, including backward continued fractions.
Proposition 14 ([20, 24, 9]). For every u ∈ [1, ∞) \ Q the following are equivalent:
(i) u is a quadratic irrational.
(ii) ECF (u) is eventually periodic, i.e.
u = [(a1 , e1 ), . . . , (ar , er ), (ar+1 , er+1 ), . . . , (ar+n , er+n ) ]. (2.11)
We consider the Theta groups Θ
e and Θ defined in the introduction.
Proposition 16. P = S .
p pn−1 en
Proof. (⊆) The matrix M (a1 , e1 ) · · · M (an , en ) = qnn qn−1 en is ≡ I2 or J2 (mod 2) as a product
of matrices M (ai , ei ) ≡ J2 (mod 2). We also have q1 = 1 > q0 = 0, and by induction qn =
an qn−1 + en−1 qn−2 ≥ 2qn−1 − qn−2 > qn−1 . Similarly, pn > pn−1 as p1 = a1 > p0 = 1 and
pn − qn ≥ pn−1 − qn−1 ≥p1 − q1 = a1 − 1 ≥ p0 − q0 = 1, showing M (a1 , e1 ) · · · M (an , en ) ∈ S .
0 q0
(⊇) Let σ := pq0 pe ∈ S . Consider a := 2 2q + 12 ≥ 2. The inverse of M (a, e) is
qe
0 −e
M (a, e)−1 = (−e) −1 a and
0
p p0 − ap
−1 p pe 0 −e
σ0 := σM (a, e) = (−e) 0 = ∈ GL(2, Z),
q qe −1 a q q 0 − aq
q 0 q 0
with σ0 ≡ I2 or J2 (mod 2). Upon 2q − 12 < a2 ≤ 2q + 12 we have −q ≤ q 0 − aq < q. Since
(q 0 , q) = 1, if q 0 − aq = −q then q = 1, which in turn implies q 0 ≡ q mod 2, contradiction. Hence
q 0 − aq = f q0 with f = sgn(q 0 − aq) ∈ {±1} and 0 < q0 < q.
PERIODIC POINTS OF CERTAIN GAUSS SHIFTS WITH INFINITE INVARIANT MEASURE 11
Let p0 := f (p0 − ap) ∈ Z. We have σ0 = pq pq00ff . It remains to check the inequalities
p > p0 > 0 and p0 > q0 , and to investigate what happens when q0 = 1.
Upon det(σ0 ) = f (qp0 − pq0 ) ∈ {±1} we have p0 = pq0q±1 = pq q0 ± 1q > q0 − 1q ≥ q0 − 1, showing
p0 ≥ q0 ≥ 1. Since (p0 , q0 ) = 1, then either p0 > q0 or q0 = 1. Since q − q0 ≥ 1 and p ≥ 2 as
p > q > q0 , we have p(q − q0 ) > 1, showing p > pq0q+1 ≥ p0 .
Lastly, when q0 = 1 it follows from pq pq00 ≡ I2 or J2 (mod 2) that p0 , q ∈ 2N and
p p0 e p0 f q e
σ0 = = = M (p0 , f )M (q, e),
q e 1 0 1 0
where f ∈ {±1} is given by f = p − p0 q = pq0 − p0 q.
q2 q3 e2 p1
Remark 17. The defining relations for qn and pn lead to q1 = a2 , q2 = a3 + a2 , p0 = a1 ,
p2 e1 p3 e2
p1 = a2 + a1 , p2 = a3 + a + e1 and
2 a1
qn en−1 en−1
= an + qn−1 = an + , ∀n ≥ 2,
qn−1 qn−2 en−2
an−1 +
.. e2
.+
a2
pn en−1 en−1
= an + pn−1 = an + , ∀n ≥ 1.
pn−1 pn−2 en−2
an−1 +
.. e1
.+
a1
The latter and Lemma 9 yield
1 en pn
− = , ∀n ≥ 1.
[(a1 , e1 ), . . . , (an , en )]∗ pn−1
2.3. Two useful bijections. Given N ∈ N and α, β, β1 , β2 ≥ 1, we introduce the sets
WE := (a, e) | a ∈ 2N, e ∈ {±1} ,
WE := {(w1 , . . . , wm ) | m ≥ 1, wi ∈ WE },
WE+ := {(w1 , . . . , wm ) ∈ WE | (−e1 ) · · · (−em ) = +1},
S+ := {σ ∈ S | det(σ) = +1},
S (α, β; N ) := {σ ∈ S+ | Tr(σ) ≤ N, p ≥ αq, p0 ≥ βp}, S (N ) := S (1, 1; N ),
∗
T (α, β1 , β2 ; N ) := {(ω, k) | ω ∈ RE , ω ≥ α, ω ∈ [− β12 , β11 ], Tr(Ω(ω)
e k
) ≤ N, k ∈ N},
Tk (α, β1 , β2 ; N ) := {(ω, k) | ω ∈ RE , ω ≥ α, ω ∗ ∈ [− β12 , β11 ], Tr(Ω(ω)
e k
) ≤ N }, k ∈ N,
T (N ) := T (1, 1, 1; N ), Tk (N ) := Tk (1, 1, 1; N ).
For given N, α, β1 , β2 , the sets Tk (α, β1 , β2 ; N ) are disjoint. Therefore
X
|T (α, β1 , β2 ; N )| = |Tk (α, β1 , β2 ; N )|, ∀N ≥ 1.
k≥1
ai = bi , i = 1, . . . , m.
To check surjectivity of jE , let (ω, k) ∈ T (N ), ω = [w1 , . . . , wn ] with wi = (ai , ei ) and
n = per(ω), ` = eper(ω). Take m := k` and w = (w1 , . . . , w` , . . . , w1 , . . . , w` ) ∈ WE+ with the
block (w1 , . . . , w` ) repeating k times. Since βE (w) = Ω(ω) k , it follows that Tr(β (w)) ≤ N .
E
e
Therefore, w ∈ WE (N ) and jE (w) = (ω, ` ).
+ m
Corollary 19. The restriction of jE gives a bijection between the sets WE+ (α, β1 , β2 ; N ) and
T (α, β1 , β2 ; N ).
qn qn−1 en − pn −pn−1 en
= = =: v ∈ Z.
A B C
When n is odd, both qn and pn−1 are odd, while qn−1 en − pn is always even. It follows that
A, C, v are odd and B must be even, so ∆ ≡ 0 (mod 4). Hence ∆ ≡ 1 (mod 4) =⇒ per(ω) even.
Consider the abelian groups
√
F∆ := {t + u ∆ | t, u ∈ Z, t2 − ∆u2 = ±1} and
√
F∆+
:= {t + u ∆ | t > 0, t2 − ∆u2 = +1}.
PERIODIC POINTS OF CERTAIN GAUSS SHIFTS WITH INFINITE INVARIANT MEASURE 13
Lemma 23. Suppose that ∆ ≡ 1 (mod 4) and let σ ∈ Θ e ω 1 with ΛE (σ) > 1. Then ΛE (σ) = k
ω ω
for some k ≥ 1. In particular, if n is even and eper(ω) = per(ω), then = ΛE ω (ΩE (ω)) is the
fundamental unit of F∆ +
.
Proof. Let σ = ac db ∈ Θ e ω with η := cω + d > 1. Since N(η) = ηη ∗ = det(σ) = ±1, we have
|η ∗ | = |cω ∗ + d| < 1, leading to η − η ∗ = c(ω − ω ∗ ) > 0, and so c ≥ 1. On the other hand
ω ∗ ∈ (−1, 1) yields −c + d < η ∗ = cω ∗ + d < c + d, showing −c ≤ d ≤ c. Actually we have
−c < d < c because c − d ≡ 1 (mod 2). Two situations can occur:
(a) d = 0, leading to c = 1 (so η = ω) and b = ±1. When b = 1 we get a + ±1 ω = ω, giving
a > 1 and ω = [(a, ±1)] with = q1 ω + q0 = ω = η.
(b) c > ±d ≥ 1, leading upon Lemma 22 to en = ±1 and σ = ΩE (ω)k , k ≥ 1. Therefore we
get η = ΛE E k E k
ω (σ) = Λω (ΩE (ω) ) = Λω (ΩE (ω)) = .
k
Remark 24. Lemma 23 also works when ∆ ≡ 0 (mod 4): if (−e1 ) · · · (−en ) = 1, then is the
generator of the (infinite cyclic) group ΛE e +
E
ω (Θω ) := Λω (σ) | σ ∈ Θω , det(σ) = 1, Tr(σ) > 0}.
e
ω (Θω ) = F∆0 .
+
When ∆ = 4∆0 , ∆0 odd and B ≡ 0 (mod 4), we also have ΛE e +
1 1 1
TeB (u, v) = TB (u), = , ,
a1 − v a1 − u a1 − v
TeB ([[a1 , a2 . . .]], [[a0 , a−1 , . . .]]−1 ) = ([[a2 , a3 , . . .]], [[a1 , a0 , a−1 , . . .]]−1 ), ai ∈ N, ai ≥ 2.
From general ergodic theoretical considerations ([1]), the infinite measure (u − v)−2 dudv is
R1
TeB -invariant, while dµB = 0 (u − v)−2 dv du = u(u−1)
du
is TB -invariant.
Conjugating through JB (x) := 1−x 1
, one gets the Rényi-Gauss map T B := JB−1 TB JB , which
acts on [0, 1] as in equation (1.11) with invariant measure νB = JB∗ µB = dx x ([27, 1]). The
endomorphism T B is exact in Rohlin’s sense, and νB is the unique σ-finite Lebesgue absolutely
continuous T B -invariant measure.
Given ai ≥ 2, define pq00 := 10 , pq11 := a11 , pq22 := a1 − a12 = a1 aa22−1 , and
pk ak pk−1 − pk−2 1
:= = a1 − , ∀k ≥ 2.
qk ak qk−1 − qk−2 1
a2 −
.. 1
.−
ak
16 FLORIN P. BOCA AND MARIA SISKAKI
All algebraic computations with even continued fractions apply to backward continued frac-
tions taking ei = −1, ∀i ≥ 1. In particular, as in Remark 17 we have
qn 1 1
= an − qn−1 = an − , ∀n ≥ 2,
qn−1 qn−2 1
an−1 −
.. 1
.−
a2
pn 1 1
= an − pn−1 = an − , ∀n ≥ 1.
pn−1 pn−2 1
an−1 −
.. 1
.−
a1
We also have
pk > qk > qk−1 , pk > pk−1 > qk−1 , (4.1)
and quite importantly,
pk qk−1 − pk−1 qk = −1, ∀k ≥ 1. (4.2)
This shows that the sequence ( pqkk ) is decreasing and u := limk pqkk ∈ [1, ∞) \ Q satisfies
pk − qk u > 0, ∀k ≥ 0. (4.3)
In the opposite direction, the digits of u are captured by a1 = a1 (u) := 1 + buc and
an+1 = an+1 (u) = a1 (TBn (u)) = 1 + bTBn (u)c.
The corresponding ECF formulas with ei = −1, ∀i provide
pk−1 − qk−1 u
TBk (u) = , ∀k ≥ 1. (4.4)
pk − qk u
This gives
T k (u)pk − pk−1
u = Bk , ∀k ≥ 1,
TB (u)qk − qk−1
and so
1
TB (u)TB2 (u) · · · TBk (u) = , ∀k ≥ 1.
pk − qk u
Definition 25. The quadratic irrational ω > 1 is called B-reduced if 0 < ω ∗ < 1. We denote
[
RB (∆) := {ω ∈ X (∆) | ω B-reduced} and RB := RB (∆).
∆>0
(i) σ ∈ MB (u).
0
(ii) pq0 and pq are consecutive BCF (u)-convergents.
p −p0
P (m) := “ ∀u ∈ [1, ∞) \ Q ∀σ0 = ∈ MB (u), p0 < m
q −q0
p p0
and are consecutive BCF (u)-convergents ”
q q0
Actually p > p0 because p = p0 would imply p | p0 , thus contradicting (p, p0 ) = 1. So p > p0 > 0.
0 0 0 0
Since (p, p0 ) = 1 we also have a − 1 < pp , hence q0 = aq − q 0 < ( pp + 1)q − q 0 = p q+pq−pq
p =
pq−1 p0
p < q. On the other hand q0 > pq − q 0 = − p1 ≥ − 21 , showing q > q0 ≥ 0. The inequality
p0 pq 0 −p0 q
p0 > q0 follows from p0 − q0 = a(p − q) − (p0 − q 0 ) > 0 0
p (p − q) − (p − q ) = p = 1
p > 0, while
p0
p0 − q 0 u > 0 and q0 < pq yield p − qu > 0.
0 −q0 u
Finally, Eσ0 (u) = pp−qu > 1 is equivalent to u > p−p0
q−q0 . The latter holds because Eσ (u) =
p−qu p0 −p p0 −p p−p0 p0 −(a−1)p
> 0 and −
p0 −q 0 u p0 q0u
> 0 entail u > q0 −q , while q 0 −q ≥ q−q0 = q 0 −(a−1)q is equivalent to the
manifestly true (a − 2)(p0 q − pq 0 ) = 2 − a ≤ 0.
0 0 ≥ βp
p −p p ≥ αq, p
SB (α, β; N ) :=
∈ SL(2, Z) p > q 0 > q ≥ 0, p0 − q ≤ N , α, β ≥ 1.
q 0 −q
0
X N2
S0 (N ) := ϕ(m) =
+ O(N log N ),
2ζ(2)
m≤N
X X X
O
S0 (N ) := ϕ(m) = ϕ(4a), S0E (N ) := ϕ(2m),
m≤N a≤ N m≤N
m odd 2 m even
X ϕ(m) N
S1 (N ) := = + O(log N ),
m ζ(2)
m≤N
X ϕ(m) X ϕ(4a) X ϕ(2m) (5.1)
S1O (N ) := = , S1E (N ) := ,
m 2a m
m≤N N
a≤ m≤N
m odd 2 m even
ζ 0 (2)
X ϕ(m)
1
S2 (N ) := 2
= log N + γ − + O(N −1 log N ),
m ζ(2) ζ(2)
m≤N
X ϕ(m) X ϕ(2m) X ϕ(4a)
S2O (N ) := , S2E (N ) := = .
m2 m2 4a2
m≤N m≤N N
a≤
m odd m even 2
The estimates for S0 (N ) and S1 (N ) are well known. A proof of estimate for S2 (N ) can be
found in [3, Cor. 4.5] (see also Chapter 3 in [33]).
For every positive integer `, define
1 −1
ϕ(`) Y
C(`) := 1− 2 ,
ζ(2)` p
p|`
2
with C(2) = C(4) = 3ζ(2) . By Lemmas 2.1 and 2.2 in [4] we infer
C(2)N 2 N2
S0O (N ) = + O(N log N ) = + O(N log N ), (5.2)
2 3ζ(2)
X 4C(4)N 2 N2
S0E (N ) = ϕ(4a) = + O(N log N ) = + O(N log N ), (5.3)
8 3ζ(2)
a≤ N
2
2N
S1O (N ) = C(2)N + O(log2 N ) = + O(log2 N ), (5.4)
3ζ(2)
X ϕ(4a) 4C(4)N 2N
S1E (N ) = = + O(log2 N ) = + O(log2 N ). (5.5)
N
2a 4 3ζ(2)
a≤ 2
To estimate S2O (N )and S2E (N ), we follow closely the proof of [3, Lemma 4.4] and [33, Chapter
3]. We will first estimate the sums
X ϕ(m) X ϕ(m)
Se2O (N ) := 2
(N − m) 2
and eE (N ) :=
S 2 (N − m)2 ,
m m2
m≤N m≤N
m odd m≡0 (mod 4)
N2 m 2
X
Se2O (N ) := ϕ(m) 2 1 −
m N
m≤N
m odd
Z σ0 +i∞ ∞ Z σ0 +i∞
1 X ϕ(m) N s+2 1
= · ds = g O (s) ds, (σ0 > 0)
πi σ0 −i∞ ms+2 s(s + 1)(s + 2) 2πi σ0 −i∞ N
m=1
m odd
where
O 2N s+2 2s+2 − 2 ζ(s + 1)
gN (s) = · s+2 · ds
s(s + 1)(s + 2) 2 − 1 ζ(s + 2)
2N s+2 (2s+2 − 2)
1 γ
= + + O(1) (s → 0)
(s + 1)(s + 2)(2s+2 − 1)ζ(s + 2) s2 s
defines a meromorphic function in the region Re s > −2 with a removable singularity at s = −1
and a simple pole at s = 0.
Moving the contour of integration exactly as in [3, Lemma 4.4] we get
0
Se2O (N ) = Res gN
O
(s) = hO
N (0) + O(N ),
s=0
where
2N s+2 (2s+2 − 2)(1 + γs)
hO
N (s) := .
(s + 1)(s + 2)(2s+2 − 1)ζ(s + 2)
Employing the logarithmic derivative of hO N , we get
2N 2 2 log 2 3 ζ 0 (2)
O
S2 (N ) =
e log N + γ + − − + O(N ). (5.7)
3ζ(2) 3 2 ζ(2)
In similar fashion we find
Z σ0 +i∞
1 0
Se2E (N ) = g E (s) ds = Res gN E
(s) + O(N ) = hEN (0) + O(N ),
2πi σ0 −i∞ N s=0
where
2N s+2
E 1 γ
gN (s) = + + O(1) and
(s + 1)(s + 2)2s+1 (2s+2 − 1)ζ(s + 2) s2 s
2N s+2 (1 + γs)
hE
N (s) = .
(s + 1)(s + 2)2s+1 (2s+2 − 1)ζ(s + 2)
20 FLORIN P. BOCA AND MARIA SISKAKI
Using Weil bounds for Kloosterman sums one can show (cf., e.g., [7, Proposition A3]) that, if
(h, q) = 1, then for every I1 , I2 intervals,
ϕ(q) |I1 | |I2 |
Nq,h (I1 × I2 ) = 2 |I1 | |I2 | + Oε q 1/2+ε
1+ 1+ , ∀ε > 0. (6.1)
q q q
As long as (h, q) = 1, the proof of Lemma 2 in [34] still works when replacing ±1 by h and
employing (q, m, nh) = (q, m, n), and one gets
Lemma 28. Let q, h be integers, q ≥ 2, (h, q) = 1. For every integer c and interval I with
|I| < q, consider the linear function f (x) = c ± x such that f (I) ⊆ [0, q]. Then
Z
ϕ(q)
Nq,h ({(x, y) | x ∈ I, 0 ≤ y ≤ f (x)}) = 2 f (x) dx + Oε (q 1/2+ε ), ∀ε > 0.
q I
p
When p ≤ N β , apply estimate (6.1) with I1 × I2 = [βp, N ] × [0, α ], and Lemma 28 with f (x) =
x − N and I = [N, N + αp ], of length αp ≤ p, together with (6.3). For the case N αN
β ≤ p ≤ αβ−1 ,
apply estimate (6.1) with I1 × I2 = [βp, N + αp ] × [0, αp ] and Lemma 28 with f (x) = x − N and
I = [βp, N + αp ], of length ≤ αp , together with (6.3), to get
X
|SB (α, β; N )| = Np,−1 (Ω−
p (α, β; N ))
αN
1≤p≤ αβ−1
2
X ϕ(p) p2
p X ϕ(p) p
= (N − βp) + 2 + N + − βp + Oε (N 3/2+ε )
N
p2 α 2α N αN
2p2 α
1≤p≤ β β
<p≤ αβ−1
N2 (6.4)
N N β N 1 N αN N
= S1 − S0 + 2 S0 + S2 − S2
α β α β 2α β 2 αβ − 1 β
2
(1 − αβ) αN N
+ 2
S0 − S0
2α αβ − 1 β
(1 − αβ)N αN N
+ S1 − S1 + Oε (N 3/2+ε ).
α αβ − 1 β
Combining (6.4) with (5.1) we infer
N2 αβ
|SB (α, β; N )| = log + Oε (N 3/2+ε )
2ζ(2) αβ − 1
(6.5)
N2
ZZ
du dv
= + Oε (N 3/2+ε ).
2ζ(2) [α,∞)×[0,1/β] (u − v)2
Theorem 4 follows from (6.5) and the approximation arguments2 in Section 8, taking N =
eR/2 .Corollary 5 follows taking β = 1.
As a corollary we obtain
X X X X
A1 (α, β; N ) := |A1 (α, β; N )| = 1= 1 and
p≥1 p p≥1 (u,v)∈Ω+
u≥βp, 0≤v≤ α p (α,β;N )
p odd u+v≤N p odd uv≡1 (mod p)
uv≡1 (mod p) u,v even, uv−1 odd
p
u,v even, uv−1
p
odd
X X X X
A2 (α, β; N ) := |A2 (α, β; N )| = 1= 1,
p≥1 u≥βp, 0≤v≤ p p≥1 (u,v)∈Ω+
p (α,β;N )
p even α p even
u+v≤N uv≡1 (mod 2p)
uv≡1 (mod 2p)
p2
(
(N − βp) αp − 2α2
if 0 ≤ p ≤ αN
Area(Ω+
p (α, β; N )) = (N −βp)2 αN
αβ+1
(7.2)
2 if αβ+1 ≤ p≤ Nβ.
1 +
Writing u = 2a, v = 2b, we have that (u, v) ∈ Ω+
p (α, β; N ) ⇐⇒ (a, b) ∈ 2 Ωp (α, β; N ), and
that p = p is odd ⇐⇒ 4ab − 1 ≡ p (mod 2p) ⇐⇒ 4ab ≡ p + 1 (mod 2p) ⇐⇒ 2ab ≡ p+1
uv−1 4ab−1
2
(mod p) ⇐⇒ ab ≡ 2 · p+1
2 (mod p), where 2 · 2 ≡ 1 (mod p), so that
X X
A1 (α, β; N ) = N p+1 ( 12 Ω+
p (α, β; N )), A2 (α, β; N ) = N2p (Ω+
p (α, β; N )).
p,2· 2
1≤p≤ Nβ
1≤p≤ Nβ
p odd p even
p2 ϕ(p) (N − βp)2
1 X ϕ(p) p 1 X
= (N − βp) − 2 + · + Oε (N 3/2+ε )
4 αN
p2 α 2α 4 αN
p2 2
1≤p≤ αβ+1 αβ+1
≤p≤ N
β
p odd p odd
(7.3)
N O αN β O αN 1 O αN
= S − S − 2 S0
4α 1 αβ + 1 4α 0 αβ + 1 8α αβ + 1
2
N N αN βN N αN
+ S2O − S2O − S1O − S1O
8 β αβ + 1 4 β αβ + 1
2
β N αN
+ S0O − S0O + Oε (N 3/2+ε ).
8 β αβ + 1
Combining (7.3) with (5.2), (5.3) and (5.9), we infer after a short calculation
N2 αβ + 1
A1 (α, β) = log + Oε (N 3/2+ε ). (7.4)
12ζ(2) αβ
Next, we estimate A2 (α, β; N ). In this case we have
1 X ϕ(2p)
A2 (α, β; N ) = 2
Area(Ω+
p (α, β; N ))
4 N
p
1≤p≤ β
p even
p2 ϕ(2p) (N − βp)2
1 X ϕ(2p) p 1 X
= (N − βp) − 2 + · + Oε (N 3/2+ε )
4 αN
p2 α 2α 4 αN
p2 2
1≤p≤ αβ+1 αβ+1
≤p≤ N
β
p even p even
N E αN β E αN 1 E αN
= S − S − 2 S0
4α 1 αβ + 1 4α 0 αβ + 1 8α αβ + 1
2
N E N E αN βN E N E αN
+ S2 − S2 − S1 − S1
8 β αβ + 1 4 β αβ + 1
2
β N αN
+ S0E − S0E + Oε (N 3/2+ε ).
8 β αβ + 1
Combining this with (5.3), (5.5) and (5.10), we infer
N2 αβ + 1
A2 (α, β) = log + Oε (N 3/2+ε ). (7.5)
12ζ(2) αβ
The estimate (7.1) follows from (7.4) and (7.5).
To estimate |S− (α, β; N )|, consider the region Ω− 0
p (α, β; N ) defined by (6.2) and employ p q −
0 0
pq = −1, which gives p q ≡ −1 (mod p). We first observe as above that
X X
|S− (α, β; N )| = Np,2· p−1 ( 12 Ω−
p (α, β; N )) + N2p,−1 (Ω−p (α, β; N ))
2
αN αN
1≤p≤ αβ−1 1≤p≤ αβ−1
p odd p even
=: B1 (α, β; N ) + B2 (α, β; N ).
24 FLORIN P. BOCA AND MARIA SISKAKI
Proceeding exactly as in Section 6 and as in the estimation for A1 (α, β; N ) and A2 (α, β; N )
above, the only difference being uv ≡ −1 (mod p) in place of uv ≡ 1 (mod p), we show that
N2 αβ N2 αβ
B1 (α, β; N ) = log +Oε (N 3/2+ε ), B2 (α, β; N ) = log +Oε (N 3/2+ε ),
12ζ(2) αβ − 1 12ζ(2) αβ − 1
and therefore
N2 αβ
|S− (α, β; N )| = log + Oε (N 3/2+ε ). (7.6)
6ζ(2) αβ − 1
Combining (7.1) and (7.6) we get
|S− (α, β1 ; N )| + |S+ (α, β2 ; N )| = C(α, β1 , β2 )N 2 + Oε (N 3/2+ε ), (7.7)
with C(α, β1 , β2 ) as in Theorem 1.
with S− (α, β1 ; N ) collecting the contribution of terms with ω ∗ ∈ (0, β11 ] and S+ (α, β2 ; N ) col-
lecting the contribution of terms with ω ∗ ∈ [− β12 , 0).
By Corollary 31 and Tk (α, β1 , β2 ; N ) N 2/k we infer4
X
S(α, β1 , β2 ; N ) = T1 (α, β1 , β2 ; N ) + O N 2/k
2≤k≤log2 N (8.3)
= T1 (α, β1 , β2 ; N ) + O(N log N ).
n 0 o
Lemma 32. (i) σ = pq0 ep ∈ S q(q 0
+ eq) ≤ N, p0
≤ AN = OA,ε (N 3/2+ε ).
eq +
n 0 o
(ii) σ = pq0 −p ∈ S p(p − q) ≤ N, p0
≤ AN = OA,ε (N 3/2+ε ).
−q +
√
Proof. (i) When e = +1 we get q ≤ N and pq 0 = p0 q − 1 < AN 3/2 . Fix p0 and q. The number
of admissible values for p is at most the number of divisors of p0 q − 1, so it is OA,ε (N ε ). Hence
the number of σ’s is OA,ε (N 3/2+ε ).
When e √ = −1 we consider two cases:
(i1 ) q ≤ N . Fixing p0 and q, the number of admissible values for p is at most the number of
0 q + 1, so it is again O
divisors of p√ ε
A,ε (N ). √
(i2 ) q ≥ N . In this case 0 < k := q 0 − q ≤ Nq ≤ N and (p0 − p)q = pk − 1. Fixing p
and k, the number of admissible values for q is OA,ε (N ε ) as above, and p, k and q completely
determine σ. √
(ii) The proof is similar. Consider first p ≤ N and fix p√and q 0 , which limits the number √ of
0 ε
admissible values for p to OA,ε (N ). In the second case p ≥ N gives 0 < ` := p−q ≤ p ≤ N . N
We proceed as in (i2 ). Fix ` and q 0 and observe that the equality q(p0 − q 0 ) + 1 = `q 0 limits the
number of admissible values for q to OA,ε (N ε ).
Employing equality (2.5) and TEn (ω) = ω, we get
ω − pn−1 = en pn−1 + ωpn − pn−1 = en 1
≤ . (8.4)
e
qn−1 en qn−1 + ωqn qn−1 qn−1 (qn + ωn qn−1 ) qn−1 (qn − qn−1 )
Employing equality (2.7), we get
1 en pn ω ∗ en qn − en pn en pn ω∗
− −
1
ω ∗ pn−1 ω ∗ qn−1 − pn−1 − pn−1 = pn−1 (pn−1 − ω ∗ qn−1 ) ≤ pn−1 (pn−1 − qn−1 ) . (8.5)
=
and also
X
S(α, β1 , β2 ; N ) ≥ 1
1
σ∈S− (α+ N ,β1 ;N )∪S+ (α,β2 ;N )
min{q(q 0 −q),p(p−q)}≥N
(8.7)
= |S− (α + 1
N , β1 ; N )| + |S+ (α, β2 ; N )| + Oα,β1 ,ε (N 3/2+ε )
= C(α, β1 , β2 )N 2 + Oα,β1 ,ε (N 3/2+ε ).
Taking N = eR/2 and combining (8.1), (8.3), (8.6) and (8.7), we infer
rE (α, β1 , β2 ; R) = C(α, β1 , β2 )eR + Oα,β1 ,ε (e(3/4+ε)R ).
This proves Theorem 1.
References
[1] R. L. Adler, L. Flatto, The backward continued fraction map and the geodesic flow, Ergodic Theory Dynam.
Systems 4 (1984), 487–492.
[2] V. Baladi, B. Vallée, Euclidean algorithms are Gaussian, J. Number Theory 110 (2005), 331–386.
[3] F. P. Boca, Products of matrices [ 10 11 ] and [ 11 01 ] and the distribution of reduced quadratic irrationals, J. Reine
Angew. Mathematik 606 (2007), 149–165.
[4] F. P. Boca, R. N. Gologan, On the distribution of the free path length of the linear flow in a honeycomb, Ann.
Inst. Fourier, 59 (2009), 1043–1075
[5] F. P. Boca, E. C. Merriman, Coding of geodesics on some modular surfaces and applications to odd and even
continued fractions, Indagationes Math. 29 (2018), 1214–1234.
[6] F. P. Boca, A. Vandehey, On certain statistical properties of continued fractions with even and with odd
partial quotients, Acta Arithmetica 156 (2012), 201–221.
[7] F. P. Boca, A. Zaharescu, On the correlations of directions in the Euclidean plane, Trans. Amer. Math. Soc.
358 (2006), 1797–1825.
[8] F. Cellarosi, Renewal-type theorem for continued fractions with even partial quotients, Ergod. Theory Dynam.
Syst. 29 (2009), 1451–1478.
[9] K. Dajani, D. Hensley, C. Kraaikamp, V. Masarotto, Arithmetic and ergodic properties of “flipped” continued
fraction algorithms, Acta Arithmetica 153 (2012), 51–79.
[10] K. Dajani, C. Kraaikamp, “The mother of all continues fractions”, Colloq. Math. 84/85 (2000), 109–123.
[11] W. Duke, Hyperbolic distribution problems and half-integral weight Maass forms, Inventiones Math. 92 (1988),
73–90.
[12] C. Faivre, Distribution of Lévy constants for quadratic numbers, Acta Arithmetica 61 (1992), 13–34.
[13] E. Galois, Analyse algébrique. Démonstration d’un théorème sur les fractions continues périodiques, Ann.
Math. Pures Appl. 19 (1828/29), 294–301.
[14] F. Halter-Koch, Quadratic irrationals: an introduction to classical number theory, CRC Press, 2013.
[15] B. Heersink, Distribution of the periodic points of the Farey map (with an appendix by F. P. Boca, C.
Merriman and B. Heersink), Comm. Math. Phys. 365 (2019), 971–1003.
[16] F. Hirzebruch, Hilbert modular surfaces, Enseign. Math. 19 (1973), 183–281.
[17] J. Kallies, A. Özlük, M. Peter, C. Snyder, On asymptotic properties of a number theoretic function arising
out of a spin chain model in statistical mechanics, Comm. Math. Phys. 222 (2001), 9–43.
[18] D. Kelmer, Quadratic irrationals and linking numbers of modular knots, J. Modern Dynamics 6 (2012),
539–561.
[19] M. Kesseböhmer, S. Munday, B. Stratmann, Infinite ergodic theory of numbers, De Gruyter, 2016.
[20] C, Kraaikamp, A. O. Lopes, The theta group and the continued fraction expansion with even partial quotients,
Geom. Dedicata 59 (1996), 293–333.
[21] D. Mayer, On a ζ function related to the continued fraction transformation, Bull. Soc. Math. France 104
(1976), 195–203.
[22] C. Merriman, Geodesic flows and the mother of all continued fractions, preprint arXiv:2001.06073.
[23] T. Ono, An introduction to algebraic number theory, Plenum Press, 1990.
[24] G. Panti, A general Lagrange theorem, Amer. Math. Monthly 116 (2009), 70–74.
[25] M. Pollicott, Distribution of closed geodesics on the modular surface and quadratic irrationals, Bull. Soc.
Math. France 114 (1986), 431–446.
PERIODIC POINTS OF CERTAIN GAUSS SHIFTS WITH INFINITE INVARIANT MEASURE 27
[26] M. Pollicott, M. Urbanski, Asymptotic counting in conformal dynamics, preprint arXiv:1704.06896, to appear
in Mem. Amer. Math. Soc.
[27] A. Rényi, Valós számok elöálli zsolgáló algoritmusokról., M. T. A. Mat. és Fiz. Oszt. Közl. 7 (1957), 265–293.
[28] F. Schweiger, Continued fractions with odd and even partial quotients, Arbeitsberichte Math. Institut Uni-
versität Salzburg 4 (1982), 59–70.
[29] F. Schweiger, On the approximation by continued fractions with odd and even partial quotients, Arbeits-
berichte Math. Institut Universität Salzburg 1-2 (1984), 105–114.
[30] F. Schweiger, Numbertheoretical endomorphisms with σ-finite invariant measure, Israel J. Math. 21 (1975),
308–318.
[31] C. Series, The modular surface and continued fractions, J. London Math. Soc. 31 (1985), 69–80.
[32] H. J. S. Smith, Note on the theory of the Pellian equation and of binary quadratic forms of a positive
determinant, Proc. London Math. Soc. s1-7 (1875), 196–208.
[33] M. Technau, The Calkin-Wilf tree and a trace condition, Master’s Thesis, University of Würzburg, 2015.
[34] A. V. Ustinov, Spin chains and Arnold’s problem on the Gauss-Kuzmin statistics for quadratic irrationals,
Sbornik: Mathematics 204 (2013), 762–779.
[35] B. Vallée, Dynamical analysis of a class of Euclidean algorithms, Theoretical Computer Science 297 (2003),
447–486.
[36] B. Vallée, Euclidean dynamics, Discrete and Continuous Dynamical Systems 15 (2006), 281–352.
[37] D. Zagier, Nombres de classes et fractions continues, Astérisque, tome 24-25 (1975), pp. 81–97.