1 2 3 47 6 Journal of Integer Sequences, Vol. 13 (2010), Article 10.3.8 23 11 Mean Values of a Gcd-Sum Function Over Regular Integers Modulo n Deyu Zhang and Wenguang Zhai1 School of Mathematical Sciences Shandong Normal University Jinan 250014 Shandong P. R. China zdy 78@yahoo.com.cn zhaiwg@hotmail.com Abstract In this paper we study the mean value of a gcd-sum function over regular integers modulo n. In particular, we improve the previous result under the Riemann hypothesis (RH). We also study the short interval problem for it without assuming RH. 1 Introduction In general, an element k of a ring R is said to be (von Neumann) regular if there is an x ∈ R such that k = kxk. Let n > 1 be an integer with prime factorization n = pν11 · · · pνrr . An integer k is called regular (mod n) if there exists an integer x such that k 2 x ≡ k (mod n), i.e., the residue class of k is a regular element (in the sense of J. von Neumann) of the ring Zn of residue classes (mod n). Let Regn = {k : 1 ≤ k ≤ n and k is regular (mod n)}. Tóth [11] first defined the gcd-sum function over regular integers modulo n by the relation X gcd(k, n), (1) P̃ (n) = k∈Regn 1 This work is supported by National Natural Science Foundation of China(Grant Nos. 10771127, 10826028) and Research Award Foundation for Young Scientists of Shandong Province (No. BS2009SF018). 1 where gcd(a, b) denotes the greatest common divisor of a and b. It is sequence A176345 in Sloane’s Encyclopedia. This is analogous to the gcd-function, called also Pillai’s arithmetical function, n X P (n) = gcd(k, n), k=1 which has been studied recently by several authors, see [2, 3, 4, 5, 6, 9, 12]; it is Sloane’s sequence A018804. Tóth [11] proved that P̃ (n) is multiplicative and for every n ≥ 1, P̃ (n) = n Y p|n 1 (2 − ). p (2) He also obtained the following asymptotic formula X n≤x P̃ (n) = x2 (K1 log x + K2 ) + O(x3/2 δ(x)), 2ζ(2) (3) where the function δ(x) and constants K1 and K2 are given by δ(x) = exp(−A(log x)3/5 (log log x)−1/5 ), ! ∞ Y X 1 µ(n) = , K1 = 1− nψ(n) p(p + 1) p n=1 K2 = K1 where ψ(n) = n Q 1 2ζ ′ (2) 2γ − − 2 ζ(2) p|n (1 ! − ∞ X µ(n)(log n − α(n) + 2β(n)) nψ(n) n=1 (4) , (5) + p1 ) denotes the Dedekind function, and α(n) = X log p X log p , β(n) = . p−1 p2 − 1 p|n p|n It is very difficult to improve the exponent 32 in the error term of (3) unless we have substantial progress in the study of the zero free region of ζ(s). Therefore it is reasonable to get better improvements by assuming the truth of the Riemann hypothesis (RH). Let d(n) denote the Dirichlet divisor function and X ∆(x) := d(n) − x(log x + 2γ − 1). (6) n≤x Dirichlet first proved that ∆(x) = O(x1/2 ). The exponent 1/2 was improved by many authors. The latest result reads ∆(x) ≪ xθ+ǫ , θ = 131/416, 2 (7) due to Huxley [7]. Tóth [11] proved that if RH is true, then the error term of (3) can be replaced by O(x(7−5θ)/(5−4θ) exp(B log x(log log x)−1 )). For θ = 131/416 one has (7 − 5θ)/(5 − 4θ) ≈ 1.4505. In this paper, we will use the DirichletPconvolution method to study the mean value of P̃ (n), and we find that the estimate of n≤x P̃ (n) is closely related to the square-free divisor problem. Let d(2) (n) denote the number of square-free divisors of n. Note that d(2) (n) = 2ω(n) , where ω(n) is the number of distinct prime factors of n. Let X D(2) (x) = d(2) (n). n≤x It was shown by Mertens [8] that 1 D(2) (x) = x log x + ζ(2) ! 2γ − 1 2ζ ′ (2) − 2 x + ∆(2) (x), ζ(2) ζ (2) (8) where ∆(2) (x) = O(x1/2 log x). The exponent 21 is also difficult to be improved, because it is related to the zero distribution of ζ(s). One way of making progress is to assume the Riemann hypothesis (RH). Many authors investigated this problem, and the best result under the Riemann hypothesis is ∆(2) (x) ≪ xλ+ǫ , (9) where λ = 4/11, due to Baker [1]. In this paper, we shall prove the following results. Theorem 1. For any real numbers x ≥ 1 and ǫ > 0, if ∆(2) (x) ≪ xλ+ǫ , then we have X P̃ (n) = n≤x x2 (K1 log x + K2 ) + O(x1+λ+ǫ ), 2ζ(2) (10) where K1 , K2 are defined by (4) and (5). Corollary 2. If RH is true, then X n≤x P̃ (n) = x2 (K1 log x + K2 ) + O(x15/11+ǫ ). 2ζ(2) (11) Remark. Note that 15/11 ≈ 1.3636, which improves the previous result. In order to avoid assuming the truth of the Riemann hypothesis, we study the short interval problem for it. 3 Theorem 3. For xθ+3ǫ ≤ y ≤ x, we have 1 P̃ (n) = 2ζ(2) x<n≤x+y X x+y Z u (2K1 log u + K1 + 2K2 ) du + O(yx1−ǫ + x1+θ+2ǫ ). (12) x where θ is defined by (7). Corollary 4. For x131/416+3ǫ ≤ y ≤ x, we have 1 P̃ (n) = 2ζ(2) x<n≤x+y X Z x+y 547 u (2K1 log u + K1 + 2K2 ) du + O(yx1−ǫ + x 416 +2ǫ ). (13) x Notation. Throughout the paper ǫ always denotes a fixed but sufficiently small positive constant. We write f (x) ≪ g(x), or f (x) = O(g(x)), to mean that |f (x)| ≤ Cg(x). For any fixed integers 1 ≤ a ≤ b ,we consider the divisor function X d(a, b; n) = 1. n=ma kb 2 Proof of Theorem 1 Let s be complex numbers with ℜs > 1. We consider the mean value of the arithmetic function P̃ ∗ (n) = P̃ (n) . Define n F (s) := ∞ X P̃ ∗ (n) n=1 ns . By Euler product representation we have Y 2p − 1 2p2 − p 2p3 − p2 F (s) = 1 + s+1 + 2s+2 + 3s+3 + · · · p p p p Y 2 1 1 2 1 1 + s − s+1 + 2s − 2s+1 + · · · = ζ(s) 1− s p p p p p p Y 1 1 = ζ(s) 1 + s − s+1 p p p −1 1 1 1 1 Y ζ 2 (s) Y 1 + s − s+1 1 − 2s 1− s = ζ(2s) p p p p p p = ζ 2 (s) G(s), ζ(2s) 4 (14) where Y G(s) = 1− p 1 ps+1 + p . (15) From the above formula, it is easy to see that G(s) can be expanded to a Dirichlet series, which is absolutely convergent for ℜs > 0. Write G(s) = ∞ X g(n) n=1 ns , (16) then we can easily get X g(n) ≪ nǫ , |g(n)| = O(xǫ ). (17) n≤x Notice that ∞ X d(2) (m) ζ 2 (s) = . ζ(2s) m=1 ms (18) By the Dirichlet convolution, we have X X X X P̃ ∗ (n) = d(2) (m)g(ℓ) = g(ℓ) d(2) (m), n≤x mℓ≤x ℓ≤x m≤x/ℓ and formula (8) applied to the inner sum gives x X X x x 2ζ ′ (2) ∗ λ+ǫ log( ) + 2γ − 1 − +O ( ) P̃ (n) = g(ℓ) ζ(2)ℓ ℓ ζ(2) ℓ n≤x ℓ≤x x = ζ(2) ( x = ζ(2) ( ) ∞ ∞ 2ζ ′ (2) X g(ℓ) X g(ℓ) log ℓ −1+ǫ log x + 2γ − 1 − − + O(x ) + O xλ+ǫ , ζ(2) ℓ=1 ℓ ℓ ℓ=1 2ζ ′ (2) log x + 2γ − 1 − ζ(2) X ℓ≤x g(ℓ) X g(ℓ) log ℓ − ℓ ℓ ℓ≤x if we notice by (17) that both of the infinite series ∞ P ℓ=1 g(ℓ) ℓ ) +O x and convergent. From (15), (16) and the definitions of K1 , K2 , we have ∞ X Y g(ℓ) 1 = K1 , = G(1) = 1− 2 ℓ p + p p ℓ=1 ∞ X g(ℓ) log ℓ ℓ=1 ℓ = n=1 5 X |g(ℓ)| ℓ≤x ∞ P ℓ=1 ∞ X µ(n)(log n − α(n) + 2β(n)) nψ(n) λ+ǫ g(ℓ) log ℓ ℓ ℓλ+ǫ ! . are absolutely (19) (20) 1 2ζ ′ (2) 2γ − − 2 ζ(2) − K2 . 1 (log x − )K1 + K2 2 + O(xλ+ǫ ). = K1 Then x P̃ (n) = ζ(2) n≤x X ∗ (21) From the definitions of P̃ ∗ (n)and Abel’s summation formula, we can easily get X P̃ (n) = n≤x X P̃ ∗ (n)n = 1 n≤x 2 = Z x td X n≤t ! P̃ ∗ (n) x (K1 log x + K2 ) + O(x1+λ+ǫ ). 2ζ(2) Corollary 2 follows by taking λ = 4/11. 3 Proof of Theorem 3 From the proof of Theorem 1, we have F (s) = ∞ X P̃ ∗ (n) n=1 ns ζ 2 (s) = G(s). ζ(2s) (22) Let ζ 2 (s)G(s) = ∞ X h(n) n=1 ns , ℜs > 1. (23) Then we have Lemma 5. For any real numbers x ≥ 1 and ǫ > 0, we have X 1 2ζ ′ (2) h(n) = x log x − + K1 + K2 + O(xθ+ǫ ), 2 ζ(2) n≤x (24) where θ is defined in (7). Proof. Recall that ∞ X g(n) n=1 Then we have h(n) = ns X = G(s), g(n) ≪ nǫ . d(m)g(ℓ), h(n) ≪ nǫ . n=mℓ 6 (25) Thus from (6),(7) we get X X X X h(n) = d(m)g(ℓ) = g(ℓ) d(m) n≤x mℓ≤x m≤ x ℓ≤x ℓ x o nx x log( ) + 2γ − 1 + O ( )θ+ǫ = g(ℓ) ℓ ℓ ℓ ℓ≤x ( ) ! X g(ℓ) X g(ℓ) log ℓ X |g(ℓ)| = x (log x + 2γ − 1) − + O xθ+ǫ ℓ ℓ ℓθ+ǫ ℓ≤x ℓ≤x ℓ≤x ) ( ∞ ∞ X g(ℓ) X g(ℓ) log ℓ − + O(x−1+ǫ ) + O xθ+ǫ = x (log x + 2γ − 1) ℓ ℓ ℓ=1 ℓ=1 X Then Lemma 5 follows from the above formula and (19), (20). Lemma 6. For any real numbers x ≥ 1 and x < u ≤ 2x, we have X P̃ ∗ (n) = M (u) − M (x) + E(u, x), (26) x<n≤u where is the main term of x M (x) = ζ(2) P n≤x P̃ ∗ (n), and 1 (log x − )K1 + K2 2 E(u, x) ≪ (u − x)x−ǫ + xθ+2ǫ . Proof. From (22) and (23), we have P̃ ∗ (n) = X h(ℓ)µ(m). n=ℓm2 Then X X P̃ ∗ (n) = x<n≤u X = X = 1 2 1 = X µ(m) X , (27) 2 h(ℓ), h(ℓ)µ(m). x<ℓm2 ≤u m>x2ǫ u x x µ(m) H( 2 ) − H( 2 ) + O( 2 )θ+ǫ m m m 2ǫ X m≤x X + x <ℓ≤ u2 m2 m m≤x2ǫ X X 1 x<ℓm2 ≤u where By Lemma 5 we have X h(ℓ)µ(m) = 7 (28) = m≤x where u x µ(m) H( 2 ) − H( 2 ) + O(xθ+2ǫ ), m m 2ǫ X H(x) := ax log x + bx ′ P (2) is the main term of n≤x h(n), and a = K1 , b = 2ζζ(2) − 21 K1 + K2 . Then x u µ(m) H( 2 ) − H( 2 ) m m 2ǫ X m≤x X = µ(m) m≤x2ǫ H(u) − H(x) 2(ax − au) + log m m2 m2 = (H(u) − H(x)) X µ(m) X µ(m) log m + 2(ax − au) m2 m2 2ǫ 2ǫ m≤x = (H(u) − H(x)) m≤x ∞ ∞ X X µ(m) log m µ(m) −2ǫ + 2(ax − au) + O (u − x)x . 2 2 m m m=1 m=1 It is well known that which gives by differentiation ∞ X 1 µ(m) = , ζ(s) m=1 ms ℜs > 1, ∞ X µ(m) log m ζ ′ (s) = , 2 ζ (s) m=1 ms and hence X 1 ζ′ H(u) − H(x) + 2(ax − au) 2 (2) + O(xθ+2ǫ + (u − x)x−2ǫ ) ζ(2) ζ = M (u) − M (x) + O xθ+2ǫ + (u − x)x−2ǫ , where For = x M (x) = ζ(2) P 2, 1 (log x − )K1 + K2 . 2 if we notice that h(n) ≪ nǫ , then X X X , 1 := xǫ ≪ xǫ 2 (29) x<ℓm2 ≤u m>x2ǫ 8 3 (30) where X X 1− d(1, 2; n) − X X = 3 1= x<ℓm2 ≤u m>x2ǫ X = 1 1= X (31) x<ℓm2 ≤u m≤x2ǫ x<ℓm2 ≤u x<n≤u X x<ℓm2 ≤u m≤x2ǫ − 31 X , 32 say. From Richert [10] we have X d(1, 2; n) = ζ(2)x + ζ(1/2)x1/2 + O(x2/9 log x). n≤x Then X 31 For P 32 = ζ(2)(u − x) + O (u − x)x−1/2 + x2/9 log x . (32) we have X 32 = X X x <ℓ≤ u2 m2 m m≤x2ǫ X u − x 1= + O(1) m2 2ǫ (33) m≤x = ζ(2)(u − x) + O (u − x)x−2ǫ + x2ǫ . Then from (31)–(33) we have X ≪ (u − x)x−2ǫ + x2/9 log x, (34) 3 and hence X ≪ (u − x)x−ǫ + x2/9+ǫ . (35) 2 Lemma 6 follows from (27), (29) and (35). Now we prove Theorem 3. From the definitions of P̃ ∗ (n) and Abel’s summation formula, we have ! Z x+y X X X P̃ ∗ (n) , P̃ (n) = ud P̃ ∗ (n)n = x<n≤x+y x x<n≤x+y x<n≤u and Lemma 6 applied to the sum in the right side gives Z Z X P̃ (n) = + , 1 x<n≤x+y 9 2 (36) where Z = Z x+y ud (M (u) − M (x)) , x 1 Z = 2 Z x+y ud (E(u, x)) . x In view of the definition of M (x) in Lemma 6, we obtain Z Z x+y Z x+y 1 ′ = uM (u)du = u (2K1 log u + K1 + 2K2 ) du. 2ζ(2) x 1 x R For 2 , we integrate it by parts, to get Z = Z (37) x+y ud (E(u, x)) x 2 = (x + y)E(x + y; x) − Z x+y E(u, x)du. x By Lemma 6 we get E(u, x) ≪ (u − x)x−ǫ + xθ+2ǫ . Therefore Z ≪ x(yx −ǫ +x θ+2ǫ )+ 2 Z x x+y (u − x)x−ǫ + xθ+2ǫ du (38) ≪ yx1−ǫ + x1+θ+2ǫ + y 2 x−ǫ + yxθ+2ǫ ≪ yx1−ǫ + x1+θ+2ǫ , if we notice that y ≤ x. Now Theorem 3 follows from (36)–(38). If we take θ = 131/416, then we can get Corollary 4. 4 Acknowledgments The authors express their gratitude to the referee for a careful reading of the manuscript and many valuable suggestions, which highly improve the quality of this paper. References [1] R. C. Baker, The square-free divisor problem II, Quart. J. Math. Oxford Ser.(2) 47 (1996), no. 186, 133–146. 10 [2] O. Bordellès, A note on the average order of the gcd-sum function, J. Integer Sequences 10 (2007), Article 07.3.3. [3] O. Bordellès, Mean values of generalized gcd-sum and lcm-sum functions, J. Integer Sequences 10 (2007), Article 07.9.2. [4] K. Broughan, The gcd-sum function, J. Integer Sequences 4 (2001), Article 01.2.2. [5] K. Broughan, The average order of the Dirichlet series of the gcd-sum function, J. Integer Sequences 10 (2007), Article 07.4.2. [6] J. Chidambaraswamy, R. Sitaramachandrarao, Asymptotic results for a class of arithmetical functions, Monatsh. Math. 99 (1985), 19–27. [7] M. N. Huxley, Exponential sums and Lattice points III, Proc. London Math. Soc. 87 (2003), 591–609. [8] F. Mertens, Über einige asymptotische Gesetze der Zahlentheorie, J. Reine Angew. Math. 77 (1874), 289–338. [9] S. S. Pillai, On an arithmetic function, J. Annamalai Univ. 2 (1933), 243–248. [10] H. E. Richert, Über die Anzahl Abelscher Gruppen gegebener Ordnung I, Math. Z. 56 (1952), 21–32; II. ibid. 58 (1953), 71–84. [11] L. Tóth, A gcd-sum function over regular integers modulo n, J. Integer Sequences 12 (2009), Article 09.2.5. [12] Y. Tanigawa, W. Zhai, On the gcd-sum function, J. Integer Sequences 11 (2008), Article 08.2.3. 2010 Mathematics Subject Classification: Primary 11N37. Keywords: gcd-sum function, regular integers modulo n, Riemann hypothesis, short interval result. (Concerned with sequences A018804 and A176345.) Received January 7 2010; revised version received April 15 2010. Published in Journal of Integer Sequences, April 15 2010. Return to Journal of Integer Sequences home page. 11