Next Article in Journal
On an Impulsive Conformable M1 Oncolytic Virotherapy Neural Network Model: Stability of Sets Analysis
Previous Article in Journal
Modified Finance-Based Scheduling with Activity Splitting
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

New Analytical Formulas for the Rank of Farey Fractions and Estimates of the Local Discrepancy

by
Rogelio Tomás García
CERN, Esplanade des Particules 1, 1211 Meyrin, Switzerland
Mathematics 2025, 13(1), 140; https://doi.org/10.3390/math13010140
Submission received: 7 December 2024 / Revised: 30 December 2024 / Accepted: 31 December 2024 / Published: 2 January 2025

Abstract

:
New analytical formulas are derived for the rank and the local discrepancy of Farey fractions. The new rank formula is applicable to all Farey fractions and involves sums of a lower order compared to the searched one. This serves to establish a new unconditional estimate for the local discrepancy of Farey fractions that decrease with the order of the Farey sequence. This estimate improves the currently known estimates. A new recursive expression for the local discrepancy of Farey fractions is also given. A second new unconditional estimate of the local discrepancy of any Farey fraction is derived from a sum of the Mertens function, again, improving the currently known estimates.
MSC:
11B57

1. Introduction and Statement of Main Results

The Farey sequence  F n  of order  n N  is an ascending sequence of irreducible fractions between 0 and 1 whose denominators do not exceed n. These fractions are referred to as Farey fractions. An introduction and thorough reviews of the theory of Farey sequences can be found in [1,2,3,4], along with a few applications in [5,6]. Throughout this paper, we exclude the fraction  0 / 1  from  F n . For given  n N  and  x ] 0 , 1 ] I n ( x )  is defined as the number of elements in  F n  within  ] 0 , x ] . We define  F n x  as a subsequence of  F n  given by
F n x = F n ] 0 , x ] ,
and, therefore,
I n ( x ) = F n x .
The local discrepancy  r ^ n ( h / k )  of the Farey fraction  h / k  in  F n  is defined as [7,8]
r ^ n ( h / k ) = h k | F n | I n ( h / k ) .
We also introduce the discrepancy  r ^ q φ ( h / k ) , at the level of the Euler Totient function  φ ( x ) , such that the number of Farey fractions in  F q  lower than  h / k  and with denominators equal to q is given by
h k φ ( q ) r ^ q φ h k ,
and, therefore,
r ^ n ( h / k ) = q = 1 n r ^ q φ h k .
Note that  h / k  is not necessarily an element of  F n . The absolute discrepancy of the Farey sequence  F n  is generally defined as
D n = sup α F n | r ^ n ( α ) | | F n | .
It is important to recall an equivalent formulation of the Riemann Hypothesis (RH). The Franel–Landau formulation [9,10] is expressed as
1 | F n | h / k F n r ^ n ( h / k ) = O ( n 1 2 + ϵ ) ϵ > 0 RH .
This direct connection between local discrepancies and RH shows the importance of progressing in computing estimates of  r ^ n ( h / k ) . The unconditional estimate of  r ^ n ( h / k )  is not generally addressed in the literature, while  D n  has been evaluated to be  O ( 1 / n )  in [7] and, therefore, using  | F n | = O ( n 2 ) , we can write
r ^ n ( h / k ) = O n .
The absolute discrepancy of the Farey sequence was derived in [11] and found to be  D n = 1 / n  by finding an upper bound of an integral of the Mertens function. This result has been qualified as “most remarkable” in [12]. Figure 1 shows an illustration of the different bounds for the local discrepancies versus the corresponding Farey fraction  α  for different ranges of n, as derived in [11].
The following approximations are derived in [11] (page 361) for  n > 10 400 ,
I n ( α ) = w n j = 1 n α φ ( j ) j 1 α Φ ( n α ) , r ^ n ( α ) w | F n | n n α π 2 3 j = 1 n α φ ( j ) j + π 2 3 α n Φ ( n α ) ,
where  Φ ( x )  is the Totient summatory function and “ = w ” and “ w ” are introduced in [11] to imply that the terms with relative influence below  10 100  are neglected. Neither the validity range of these approximations for  α  nor the estimates of the neglected terms are given in [11]. These approximations are only used for  α 15 / n  in [11] and, indeed, above this value of  α , the quantity in parenthesis in (2) can take negative values. For example, for  α = 33.6 / n , we would have  r ^ n ( 33.6 / n ) w 0.001 | F n | / n , which does not hold.
Knowing the missing terms that complete the above approximations for any n and  α  could lead to new bounds or estimates for the local discrepancies of Farey fractions. Partial developments in this direction are found in [13,14] for unit fractions. In Theorem 1 and Corollary 1, we develop new general expressions for  I n ( α )  and  r ^ n ( α ) , obtaining, for  r ^ n ( α ) ,
r ^ n ( α ) = | F n | α n j = 1 n α φ ( j ) j + 1 α Φ ( n α ) r ^ n α { 1 / α } + j = 1 n α d | j μ ( d ) n d ,
where  μ ( d )  is the Möbius funtion and  { x }  represents the fractional part of x. This identity unexpectedly connects the discrepancy of  α  in  F n  with the discrepancy of  { 1 / α }  in  F n α . Furthermore, the new general identity (3) can be applied iteratively to  r ^ n α { 1 / α }  for a finite number of steps, as  { 1 / α }  is always a Farey fraction of a lower order than  α . This identity is used in Theorem 2 to derive a new unconditional estimate of  r ^ n ( α )  for any  α O ( n ϵ ) , with  ϵ ] 0 , 1 ] , given by
r ^ n ( α ) = O n δ A ( n 1 ϵ ) , for α O ( n ϵ ) , ϵ ] 0 , 1 ] ,
where the function  δ A ( x )  is a monotonic decreasing function defined as
δ A ( x ) = exp A log 0.6 x ( log log x ) 0.2 , with A > 0 .
This new unconditional estimate of  r ^ n ( α )  improves the existing one,  O ( n ) , from [7,11] for  α  values that decrease with n.
In this work, we derive another unconditional estimate of  r ^ n ( h / k ) . For later convenience, we define the local discrepancy with an offset as
r n ( h / k ) = r ^ n ( h / k ) k 1 2 k .
In Theorem 3, we demonstrate that
d = 1 n r n / d ( h / k ) = i = 1 b i h k k ,
with  b = n mod k  and  · k , the fractional part with an offset defined as
x k = { x } k 1 2 k .
Note that for  h / k  being a Farey fraction and for any positive integers a and p, we have
d = a a + p k 1 d h k k = 0 .
Expression (4) can be used iteratively for an efficient calculation of  r n ( h / k )  as done, e.g., in [15], to compute  I n ( h / k ) . Applying the Möbius inversion formula to (4) and making further developments, the following two identities are also demonstrated in Theorem 3,
r n ( h / k ) = d = 1 n μ ( d ) i = 1 b ^ i h k k
= d = 1 n M n d d h k k ,
with  b ^ = n / d mod k  and  M ( n )  representing the Mertens function defined as  M ( n ) = d = 1 n μ ( d ) . Expression (6) is new and can be used to demonstrate again that  r n ( h / k ) = O ( n )  as the sum over i is bounded by  k / 8 , as it is shown in Lemma 3 given below. Expression () is not new, as it already has been given in similar forms in [3,7,11], but here, it adopts a simpler form thanks to the introduction of  · k  and the local discrepancy with an offset.
Theorem 4 establishes a second new unconditional estimate of the local discrepancy for a Farey fraction,  h / k , such that  k = O ( n 1 ϵ ) , with  1 > ϵ > 0 , as
r n ( h / k ) = O n log 0.4 n log 0.2 log n δ A ( n ϵ ) , for A > 0 .
It is important to note that this estimate includes the general case of  h / k  being constant. Again, this unconditional estimate improves the existing one,  O ( n ) , from [7,11] for Farey fractions with denominators that can grow sublinearly with the order of the Farey sequence and complements the estimate given in Theorem 2.

2. Results

Lemma 1.
The number  N n h / k ( q )  of Farey fractions in  F n h / k  with numerators equal to q for  k n  is given by
N n h / k ( q ) = n φ ( q ) q k h φ ( q ) + r ^ q φ { k / h } d | q μ ( d ) n d ,
Proof. 
Using Corollary 5 in [14], we determine the number of Farey fractions with numerators equal to q in  F n 1 / k / h  as
N n 1 / k / h ( q ) = n φ ( q ) q k / h φ ( q ) d | q μ ( d ) n d , if k / h < n / q .
To determine  N n h / k ( q )  from  N n 1 / k / h ( q ) , we need to compute the number of Farey fractions with numerators equal to q in  F n h k , 1 k / h . To this end, we define  F n  as
F n = u l F n 1 k / h + 1 , 1 k / h : u q ,
and a bijective map  M ˜  between  F n  and  F q  as
M ˜ : F q F n , t q q q ( k / h + 1 ) t , M ˜ 1 : F n F q , h k h ( k / h + 1 ) k h .
This implies that the number of Farey fractions with numerators equal to q in  F n  is the same as the number of Farey fractions with denominators equal to q in  F q , that is  φ ( q ) . Furthermore, the image of  h / k  under  M ˜ 1  is given by
h ( k / h + 1 ) k h = 1 k h = 1 k mod h h ,
and the number of Farey fractions in  F q  with denominators equal to q and larger than  1 { k / h }  is given by
φ ( q ) k h r ^ q φ { k / h } .
Therefore,
N n h / k ( q ) = N n 1 / k / h ( q ) φ ( q ) k h + r ^ q φ { k / h } .
Lemma 2.
The largest numerator among the Farey fractions in  F n α , with  α [ 0 , 1 ] , is equal to or below  n α .
Proof. 
This is immediate from the fact that the largest denominator in  F n α  is n and  n α  is the largest integer that fulfills  n α / n α . □
Theorem 1.
The rank  I n ( h / k )  of the Farey fraction  h / k  in  F n  is given by
I n ( h / k ) = n j = 1 n h / k φ ( j ) j k h Φ ( n h / k ) + r ^ n h / k { k / h } j = 1 n h / k d | j μ ( d ) n d ,
Proof. 
Per Lemma 2, we obtain  I n ( h / k )  by adding  N n h / k ( q )  for all  q n h / k ,
I n ( h / k ) = q = 1 n h / k N n h / k ( q ) .
The desired result is achieved by using Lemma 1 in this relation. □
Corollary 1.
The local discrepancy of the Farey fraction  h / k  in  F n  is given by
r ^ n ( h / k ) = | F n | h k n j = 1 n h / k φ ( j ) j + k h Φ ( n h / k ) r ^ n h / k { k / h } + j = 1 n h / k d | j μ ( d ) n d .
Proof. 
This follows from the definition of the local discrepancy and Theorem 1. □
Theorem 2.
The unconditional estimate of the local discrepancy of the Farey fraction  h / k  is given by
r ^ n ( h / k ) = 3 π 2 k h h n k 2 + O n δ A n h k + O n h k log n h k .
For  h / k O ( n ϵ ) , with  ϵ ] 0 , 1 ] , the estimate simplifies to the following expression,
r ^ n ( h / k ) = O n δ A ( n 1 ϵ ) , for h / k O ( n ϵ ) .
Proof. 
Recalling Theorem 1,
r ^ n ( h / k ) = | F n | h k n j = 1 n h / k φ ( j ) j + k h Φ ( n h / k ) r ^ n h / k { k / h } + j = 1 n h / k d | j μ ( d ) n d ,
we proceed to provide estimates for the different terms in the right hand side of the above expression, assuming  h / k = O ( n ϵ )  with  ϵ [ 0 , 1 [  and using known estimates from, e.g., [11,16,17] as follows:
| F n | h k = 3 π 2 n 2 h k + E ( n ) h k , n j = 1 n h / k φ ( j ) j = 6 π 2 n 2 h k 6 π 2 n h n k + n H ( n h / k ) , k h Φ ( n h / k ) = 3 π 2 n 2 h k 6 π 2 n h n k + 3 π 2 k h h n k 2 + E ( n h / k ) k h , E ( x ) = O ( x log 2 / 3 x ( log log x ) 4 / 3 ) , E ( x ) = x H ( x ) + O ( x δ A ( x ) ) , r ^ n h / k { k / h } = O ( n h / k ) ,
with  A > 0 . Combining the above results we obtain the following relation,
r ^ n ( h / k ) = 3 π 2 k h h n k 2 + E ( n ) h k + O n δ A n h k + O ( n h / k ) + j = 1 n h / k d | j μ ( d ) n d .
For the sum with the Möbius function we establish the following estimate,
j = 1 n h / k d | j μ ( d ) n d = j = 1 n h / k μ ( j ) n h k j n j = O n h k log n h k .
Combining the above estimates the desired result is obtained. For the case  h / k = O ( n 1 ) , we directly evaluate identity (8), obtaining
r ^ n ( h / k ) = O ( n ) ,
which is compatible with the formulation of the theorem and with the main result in [11]. □
Lemma 3.
For  b ^ , h, and k integers fulfilling  0 b ^ k gcd ( h , k ) = 1  and  1 h k 1  we have
i = 1 b ^ i h k k i = 1 b ^ i h k k 1 2 k k 8 .
Proof. 
Since gcd ( h , k ) = 1 , the fractional part  { i h / k }  takes different values for all  i [ [ 1 , b ^ ] ]  and, therefore, we can establish the following bounds
i = 1 b ^ i k i = 1 b ^ i h k i = 1 b ^ k i k ,
b ^ ( b ^ + 1 ) 2 k i = 1 b ^ i h k b ^ ( 2 k b ^ 1 ) 2 k .
Subtracting  b ^ ( k 1 ) / ( 2 k )  we obtain
( k 2 ) 2 8 k b ^ ( k b ^ 2 ) 2 k i = 1 b ^ i h k k b ^ ( k b ^ ) 2 k k 8 .
Theorem 3.
For  n N h / k  being a Farey fraction and b defined as  b n mod k , we have
d = 1 n r n / d ( h / k ) = i = 1 b i h k k ,
and, by Möbius inversion, we also have
r n ( h / k ) = d = 1 n μ ( d ) i = 1 b ^ i h k k ,
with  b ^ = n / d mod k . Furthermore,
r n ( h / k ) = d = 1 n M n d d h k k
where  M ( x )  is the Mertens function.
Proof. 
I n / d ( h / k )  represents the number of simple fractions of the form  p / q  and  0 p q n  below or equal  h / k  with gcd ( p , q ) = d . Therefore the sum over d,
d = 1 n I n / d ( h / k ) = i = 1 n i h k ,
gives the total number of fractions below or equal  h / k . This argument is commonly used, see, e.g., [15]. Developing the right hand side of the above of the Farey fractionn  b n mod k , we obtain
i = 1 n i h k = i = 1 n i h k i h k = h 2 k ( n + 1 ) n i = 1 n i h k = h 2 k ( n + 1 ) n n k i = 1 k 1 i h k i = 1 b i h k = h 2 k ( n + 1 ) n n k k 1 2 i = 1 b i h k = h 2 k ( n + 1 ) n ( n b ) k 1 2 k i = 1 b i h k .
Inserting the following quantity,
d = 1 n | F n / d | = d = 1 n I n / d ( 1 / 1 ) = i = 1 n i · 1 1 = 1 2 ( n + 1 ) n ,
in the above derivation gives
d = 1 n I n / d ( h / k ) = h k d = 1 n | F n / d | n k 1 2 k + b k 1 2 k i = 1 b i h k .
Since  r n ( h / k )  is defined as
r n ( h / k ) = h k | F n | I n ( h / k ) k 1 2 k ,
we retrieve the desired result as follows:
d = 1 n r n / d ( h / k ) = i = 1 b i h k k .
Identity (11) is directly obtained by Möbius inversion and (12) is derived as follows,
r n ( h / k ) = d = 1 n μ ( d ) i = 1 b ^ i h k k = d = 1 n M n d M n d + 1 i = 1 d   mod k i h k k = M ( n ) h k k + d = 2 n M n d d h k k = d = 1 n M n d d h k k
with  b ^ = n / d mod k . Identity (12) is very similar to Formula (1) of [11] and to its further derivations within the proof of Lemma 4 in [11]. □
Corollary 2.
For any constant  α ] 0 , 1 ] , we have
j = 1 n α d | j μ ( d ) n d = O ( n log 2 / 3 n ( log log n ) 4 / 3 ) .
Proof. 
By inspecting estimate (9) for the case with constant  h / k = α , we realize that the largest growing term, the sum with the Möbius function, must have the same asymptotic behavior as the second largest term,  E ( n ) α , so that their sum can result in the known estimate,  r ^ n ( h / k ) = O ( n ) , on the left hand side. □
Theorem 4.
The unconditional estimate of the local discrepancy of the Farey fraction  h / k  is given by
r n ( h / k ) = O n log 0.4 n log 0.2 log n δ A ( n ϵ ^ ) + O k n ϵ ^ ,
for  1 > ϵ ^ > 0 .
For the case  k = O ( n 1 ϵ ) , with  ϵ > ϵ ^ , the second O term can be neglected and the estimate is given by
r n ( h / k ) = O n log 0.4 n log 0.2 log n δ A ( n ϵ ^ ) .
Proof. 
Let us start from the expression (12) of the local discrepancy of the Farey fraction  h / k  given in Theorem 3
r n ( h / k ) = d n M n d d h k k .
Splitting the sum in (13) in two parts at  f ( n ) = n 1 ϵ ^  for any  ϵ ^  such that  1 > ϵ ^ > 0  gives
d n M n d d h k k = d = 1 f ( n ) M n d d h k k + d = f ( n ) + 1 n M n d d h k k .
For any monotonically increasing function  g ( x )  in the range  [ n / a , n ] , with  a 1 , we have
d = 1 a g ( n / d ) g ( n ) + 1 a g ( n / x ) d x
for any  n > a . Since  M ( x ) = O ( x δ A ( x ) )  for  A > 0 , see [17], we establish the following estimate for the first sum in the right hand side of inequality (14) as
d = 1 f ( n ) | M ( n / d ) | = O n log 0.4 n log 0.2 log n δ A ( n ϵ ^ ) ,
where we have used that
1 f ( n ) n x δ A ( n / x ) d x = n f ( n ) n n u δ A ( u ) d u = O n log 0.4 n log 0.2 log n δ A ( n ϵ ^ )
as demonstrated in Lemma 4.
The second sum in the r.h.s of (14) can be bounded as
d = f ( n ) + 1 n M n d d h k k d J M n d M n d + α d d h k k + d = n k + 1 n M n d d h k k
where we have used the fact that for every  d < n k + 1  there exists one  α d < k  such that
d h k k = ( d + α d ) h k k .
The set J is a subset of  [ [ f ( n ) + 1 , n k ] ]  such that the map A
A : J [ [ f ( n ) + 1 , n k ] ] J , d d + α d
is bijective. The second sum in the r.h.s of Expression (15) includes the elements that cannot be paired when  d + α d > n  and accepts the following bound,
d = n k + 1 n M n d d h k k k n 2 ( n k + 1 ) ,
where we have used that  | M ( x ) | x , for all x.
To derive a bound for the first sum in the r.h.s of Expression (15) we use the fact that
M n d M n d + α d α d n d 2 k n d 2 ,
where we have used that  | M ( x ) M ( y ) | | x y | . Furthermore,
d J k n d 2 d h k k 1 2 d = f ( n ) + 1 n k + 1 k n d 2 k n 2 ( f ( n ) + 1 ) k n 2 ( n k + 1 ) .
Combining the above bounds and recalling that  f ( n ) = n 1 ϵ ^ , we conclude that
d = f ( n ) + 1 n M n d d h k k k n ϵ ^ 2 = O ( k n ϵ ^ ) .
Inserting the above estimates into inequality (14), we obtain the wanted result. □
Lemma 4.
For any  a > x , we have
x a δ A ( u ) u d u = O log 0.4 x log 0.2 log x δ A ( x ) .
Proof. 
This is demonstrated using the following derivative,
d d x 5 3 A log 0.4 x log 0.2 log x 1 1 3 log log x δ A ( x ) = δ A ( x ) x 1 + log 0.2 log x A log 0.6 x ( 6 log 2 log x + log log x 6 ) ( 3 log log x 1 ) 2 = δ A ( x ) x 1 + O log 0.2 log x log 0.6 x ,
and therefore,
x a δ A ( u ) u d u = O log 0.4 u log 0.2 log u 1 1 3 log log u δ A ( u ) u = a u = x .
The factor in the denominator inside the O term can be neglected for large x. □

3. Discussion

We have developed new exact formulas for the rank and discrepancy of Farey fractions using an interesting technique based on a bijection between Farey subsequences. These formulas complete an approximation presented in the classical paper [11]. It is remarkable that this formula, see Corollary 1, connects the local discrepancy of two different Farey fractions, namely  α  and  { 1 / α } . As a curiosity, the largest solution of the equation  α = { 1 / α }  is the fractional part of the Golden ratio,  5 1 / 2 , which is not a Farey fraction. These new formulas are used to compute a new estimate of the local discrepancy in Theorem 2 that improves the currently known estimates.
The new notation introduced in this work, namely the discrepancy with an offset  r n ( h / k ) = r ^ n ( h / k ) ( k 1 ) / ( 2 k )  and the fractional part with the same offset  · k , simplifies the known formula and has helped in the development of the new formulas for  r n ( h / k )  in Theorem 3. These are the basis for the development of the second new estimate of  r n ( h / k )  in Theorem 4. The new and previous estimates of  r n ( h / k ) , or equivalently  r ^ n ( h / k ) , are put together in the following expression:
r ^ n ( h / k ) = O n δ A ( n 1 ϵ ) , for h / k O ( n ϵ ) , Theorem   2 O n log 0.4 n log 0.2 log n δ A ( n ϵ ^ ) , for k = O ( n 1 ϵ ^ ) , Theorem   4 O ( n ) , otherwise ,
with  ϵ ] 0 , 1 ] ϵ ^ ] 0 , 1 [ , and  A > 0 . The cases where  k O ( n )  or  h / k = O ( n 1 )  remain with the known estimate  r ^ n ( h / k ) = O ( n )  from [7]. For the cases  h / k O ( n ϵ )  or  k = O ( n 1 ϵ ^ ) , the new unconditional estimates of  r ^ n ( h / k )  are sublinear in n. Theorem 4 applies to  h / k  being constant.
The Fanel–Landau formulation of the Riemann Hypothesis is expressed as
1 | F n | h / k F n r ^ n ( h / k ) = O n 1 2 + ϵ ϵ > 0 RH .
The known estimate  r ^ n ( h / k ) = O ( n ) , for all  h / k  in  F n , implies that
1 | F n | h / k F n r ^ n ( h / k ) = O n ,
which is far from  O ( n 1 2 + ϵ ) . For the RH to be true,  r ^ n ( h / k )  would need to be  r ^ n ( h / k ) = O n 1 2 + ϵ  for most of the Farey fractions in  F n . The new sublinear estimates of  r ^ n ( h / k )  in Theorems 2 and 4 go in the direction of the RH, but further developments would be needed for a significant improvement.

Funding

This research received no external funding.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The author declares no conflicts of interest.

References

  1. Cobeli, C.; Zaharescu, A. The Haros-Farey sequence at two hundred years. A survey. Acta Univ. Apulensis. Math. Inform. 2003, 5, 1–38. [Google Scholar]
  2. Hardy, G.H.; Wright, E.M. An Introduction to the Theory of Numbers, 5th ed.; Oxford Science Publications: Docklands, Australia, 1996. [Google Scholar]
  3. Kanemitsu, S.; Yoshimoto, M. Farey series and the Riemann hypothesis. Acta Arith. 1996, 75, 351–374. [Google Scholar] [CrossRef]
  4. Matveev, A.O. Farey Sequences: Duality and Maps Between Subsequences, 1st ed.; De Gruyter: Berlin, Germany; Boston, MA, USA, 2017; ISBN 978-3110546620. [Google Scholar]
  5. Khoshnoudirad, D. Farey lines defining Farey dia-grams and application to some discrete structures. Appl. Anal. Discrete Math. 2015, 9, 73–84. [Google Scholar] [CrossRef]
  6. Tomás, R. From Farey sequences to resonance dia-grams. Phys. Rev. ST Accel. Beams 2014, 17, 014001. [Google Scholar] [CrossRef]
  7. Niederreiter, H. The Distribution of Farey Points. Math. Ann. 1973, 201, 341–345. [Google Scholar] [CrossRef]
  8. Codecà, P. Alcune Proprietà della Discrepanza Locale delle Sequenze di Farey; Atti della Accademia delle Scienze dell’Istituto di Bologna. Classe di Scienze Fisiche. Anno 269 rendiconti serie XIII, tomo VIII, 1980–1981, fasc.I/II; Tipografia Compositori: Bologna, Italy, 1980. [Google Scholar]
  9. Franel, J. Les suites de Farey et le problème des nom-bres premiers. Göttinger Nachrichten 1924, 1924, 198–201. [Google Scholar]
  10. Landau, E. Bemerkungen zu der vorstehenden Abhandlung von Herrn Franel. Göttinger Nachrichten 1924, 1924, 202–206. [Google Scholar]
  11. Dress, F. Discrépance des suites de Farey. J. Théorie Des Nr. Bordx. 1999, 11, 345–367. [Google Scholar] [CrossRef]
  12. Ledoan, A.H. The discrepancy of Farey series. Acta Math. Hung. 2018, 156, 465–480. [Google Scholar] [CrossRef]
  13. Tomás, R. Partial Franel Sums. J. Integer Seq. 2022, 25, 22.1.5. [Google Scholar]
  14. Tomás, R. Number of Farey fractions with equal numerators and the rank of unit fractions. Integers 2024, 26, 014001. [Google Scholar]
  15. Pawlewicz, J.; Pătraşcu, M. Order Statistics in the Farey Sequences in Sublinear Time and Counting Primitive Lattice Points in Polygons. Algorithmica 2009, 55, 271–282. [Google Scholar] [CrossRef]
  16. Kanemitsu, S.; Kuzumaki, T.; Yoshimoto, M. Some sums involving Farey fractions II. J. Math. Soc. Jpn. 2000, 52, 125–142. [Google Scholar] [CrossRef]
  17. Walfisz, A. Weylsche Exponentialsummen in der Neueren Zahlentheorie, Mathematische Foschungsberichte; VEB Deutscher Verlag der Wissenschaften: Berlin, Germany, 1963; Volume 15, p. 191. [Google Scholar]
Figure 1. Illustration of the results in [11], showing the upper bounds of the local discrepancy of Farey fractions,  | r ^ n ( α ) | / | F n | , versus the Farey fractions  α  in  [ 0 , 1 / 2 ]  (without respecting the actual separation ratios in the horizontal axis). Note that the red curve for  α 15 / n  has been plotted using expression (2), while in [11] (page 361) tabulated values are given.
Figure 1. Illustration of the results in [11], showing the upper bounds of the local discrepancy of Farey fractions,  | r ^ n ( α ) | / | F n | , versus the Farey fractions  α  in  [ 0 , 1 / 2 ]  (without respecting the actual separation ratios in the horizontal axis). Note that the red curve for  α 15 / n  has been plotted using expression (2), while in [11] (page 361) tabulated values are given.
Mathematics 13 00140 g001
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Tomás García, R. New Analytical Formulas for the Rank of Farey Fractions and Estimates of the Local Discrepancy. Mathematics 2025, 13, 140. https://doi.org/10.3390/math13010140

AMA Style

Tomás García R. New Analytical Formulas for the Rank of Farey Fractions and Estimates of the Local Discrepancy. Mathematics. 2025; 13(1):140. https://doi.org/10.3390/math13010140

Chicago/Turabian Style

Tomás García, Rogelio. 2025. "New Analytical Formulas for the Rank of Farey Fractions and Estimates of the Local Discrepancy" Mathematics 13, no. 1: 140. https://doi.org/10.3390/math13010140

APA Style

Tomás García, R. (2025). New Analytical Formulas for the Rank of Farey Fractions and Estimates of the Local Discrepancy. Mathematics, 13(1), 140. https://doi.org/10.3390/math13010140

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