Professional Documents
Culture Documents
On A Gcd-Sum Function: C Birkh Auser Verlag, Basel, 2008
On A Gcd-Sum Function: C Birkh Auser Verlag, Basel, 2008
On a gcd-sum function
Pentti Haukkanen
Pn
Summary.
P We consider generalizations and analogues of Cesàro’s formula i=1 f ((i, n)) =
d|n f (d)φ(n/d), where (i, n) denotes the greatest common divisor of i and n and where φ is
Euler’s totient function. Particular attention is paid to the unitary analogues of this formula.
1. Introduction
A theorem of Cesàro ([6], see also [13, p. 127]) states that, for any arithmetical
function f
Xn X
f ((i, n)) = f (d)φ(n/d) (1.1)
i=1 d|n
holds, where (i, n) denotes the greatest common divisor of i and n and where φ is
Euler’s totient function. In other words,
n
X
f ((i, n)) = (f ⋆ φ)(n) = (f ⋆ N ⋆ µ)(n) = (f ⋆ N ⋆ ζ −1 )(n),
i=1
P
where ⋆ is the Dirichlet convolution (defined as (f ⋆ g)(n) = d|n f (d)g(n/d)),
N (n) = n, ζ(n) = 1 (n ≥ 1), and µ is the Möbius function (see [2, 24, 35]).
Pillai’s arithmetical function β (see [26]) is defined as
n
X
β(n) = (i, n). (1.2)
i=1
Let (m, n)k denote the greatest common divisor of m and n that is a kth power.
Kopetzky in [22] shows that
k
n
X n
X n
X X
βk (n) = (i, nk )k = ··· ((i1 , i2 , . . . , ik ), n) = dk φk (n/d), (2.1)
i=1 i1 =1 ik =1 d|n
where [i, n] is the least common multiple of i and n. Gould and Shonhiwa in [14]
prove that
n
X n X
γ(n) = [i, n] = dφ(d) + 1 . (2.6)
i=1
2
d|n
Gould and Shonhiwa in [14] study also generalizations of the function γ. Tóth in
[37, 41] studies Pillai’s function on arithmetic progressions and with respect to the
so-called exponential divisors.
170 P. Haukkanen AEM
Recently, Pillai’s function β has been extensively applied by Broughan in [4, 5],
Sándor and Krámer in [28, 30] and Schulte in [31], see also [3, 29]. Loveless ([23])
studies the gcd-product function.
We define the function φ⊕ U (n) as the number of integers a (mod n) such that
(n, a)⊕ = 1. This function has not hitherto been studied in the literature. The
function φ⊕
U (n) can be written as
X
φ⊕U (n) = µ⊕ (d)φ(n/d, d), (3.3)
d|n
which can be written as (3.3) using Legendre’s totient function φ(x, n). The k-
analogue φ⊕ ⊕
k of φ is introduced here for the sake of (3.11). We could also consider
⊕
k-analogues of φU but this is omitted for the sake of brevity.
Vol. 76 (2008) Gcd-sum function 171
cf. [14]. For f = ζ, φf (x, n) becomes the Legendre totient function φ(x, n), and
for n = x, the Legendre totient becomes the Euler totient function φ(n).
Let K be a complex-valued function on the set of all ordered pairs (n, d),
where n is a positive integer and d is a positive divisor of n. The K-convolution
of arithmetical functions f and g is defined as
X
(f ⋆K g)(n) = f (d)g(n/d)K(n, d). (3.9)
d|n
and
k
n
X X
βk⊕ (n) = (i, nk )⊕,k = dk φ⊕
k (n/d) (3.11)
i=1 dkn
172 P. Haukkanen AEM
Proof. We have
n
X X n
X
f ((i, n)⊕ ) = f (d).
i=1 dkn i=d
(i,n)⊕ =d
Now, by the definitions of the function φ⊕ and the unitary convolution (3.1) we
obtain (3.12).
The proof is similar to the proof of Theorem 3.1 and is therefore omitted.
Proof. Using that dk(a, b)⊕⊕ if and only if dka, dkb, we get
n
X n
X X n
X X
f ((i, n)⊕⊕ ) = (f ⊕ µ⊕ )(d) = (f ⊕ µ⊕ )(d).
i=1 i=1 dk(i,n)⊕⊕ i=1 dki,dkn
Vol. 76 (2008) Gcd-sum function 173
Corollary 3.1.
n
X X
(i, n)⊕⊕ = φ⊕ (d)φ(n/d, d). (3.15)
i=1 dkn
Corollary 3.2.
n
X n X ⊕ n n
[n, i]⊕ = dφ (d) + 1 = [(N φ⊕ ) ⊕ ζ](n) + . (3.18)
i=1
2 2 2
dkn
n X n X ⊕ n/d n X n X ⊕
= µ (t) + µ (t).
2 d t 2 d
dkn tk(n/d) dkn tk(n/d)
Writing this in terms of the unitary convolution we obtain the last expression in
(3.18).
The proof is similar to the proof of Theorem 3.4 and is therefore omitted.
Haukkanen and Tóth in [17, 39, 42] study Pillai’s function with respect to
Narkiewicz’s regular convolution (see [25]). These functions contain as special
cases all the functions presented in (1.1), (1.2), (2.1), (2.2), (2.3), (2.4), (3.10),
(3.11), (3.12). We do not present the details here.
The coefficients α(d), where d|m, are unique and are referred to as the Fourier
coefficients of f . In [18] we show that
X
α(d) = m−1 (f ⋆ µ)(m/e)e. (4.1)
e|m/d
Corollary 4.1. X
f ((a, m)) = (f ⋆ µ ⋆ N )(m). (4.4)
a(mod m)
Equation (4.6) is known as Menon’s identity, see [21], also [19]. For various
choices of S in (4.2) we obtain some analogues of Menon’s identity; for example,
the analogue presented in [34]. Note that (4.4) is the same as (1.1). Equation
(4.2) thus puts Pillai’s function and Menon’s identity (and some analogues) under
the same roof.
Sita Ramaiah in [32] studies even functions with respect to Narkiewicz’s regular
convolution (see [25]) and obtains a formula, which can be shown to be a common
generalization of (1.1) and (3.12), see also Haukkanen and McCarthy [20]. We do
not present the details here.
References
[1] K. Alladi, On generalized Euler functions and related totients, in: New concepts in
arithmetic functions, Matscience Report No. 83, The Institute of Mathematical Sciences,
Madras, 1975.
[2] T. M. Apostol, Introduction to Analytic Number Theory, UTM, Springer-Verlag, New
York, 1976.
[3] O. Bordellès, A note on the average order of the gcd-sum function, J. Integer Seq. 10,
no. 3 (2007), Article 07.3.3, 4 pp.
[4] K. Broughan, The gcd-sum function, J. Integer Seq. 4, no. 2 (2001), Article 01.2.2, 19 pp.
[5] K. Broughan, The average order of the Dirichlet series of the gcd-sum function, J. Integer
Seq. 10, no. 4 (2007), Article 07.4.2, 6 pp.
[6] E. Cesàro, Étude moyenne du plus grand commun diviseur de deux nombres, Ann. Mat.
Pura Appl. (1) 13 (1885), 235–250.
[7] J. Chidambaraswamy and R. Sitaramachandra Rao, Asymptotic results for a class of
arithmetical functions, Monatsh. Math. 99 (1985), 19–27.
[8] E. Cohen, A class of arithmetical functions, Proc. Nat. Acad. Sci. U.S.A. 41 (1955), 939–
944.
[9] E. Cohen, Representations of even functions (mod r). I. Arithmetical identities, Duke
Math. J. 25 (1958), 401–421.
[10] E. Cohen, Representations of even functions (mod r). II. Cauchy products, Duke Math.
J. 26 (1959), 165–182.
Vol. 76 (2008) Gcd-sum function 177
[11] E. Cohen, Representations of even functions (mod r). III. Special topics, Duke Math. J.
26 (1959), 491–500.
[12] E. Cohen, Arithmetical functions associated with the unitary divisors of an integer, Math.
Z. 74 (1960), 66–80.
[13] L. E. Dickson, History of the Theory of Numbers, Vol. I, Chelsea, New York, 1971.
[14] H. W. Gould and T. Shonhiwa, Functions of GCD’s and LCM’s, Indian J. Math. 39
(1997), 11–35.
[15] P. Haukkanen, On some set-reduced arithmetical sums, Indian J. Math. 39 (1997), 147–
158.
[16] P. Haukkanen, Basic properties of the bi-unitary convolution and the semi-unitary con-
volution, Indian J. Math. 40 (1998), 305–315.
[17] P. Haukkanen, Rational arithmetical functions of order (2, 1) with respect to regular con-
volutions, Portugal. Math. 56 (1999), 329–343.
[18] P. Haukkanen, An elementary linear algebraic approach to even functions (mod r), Nieuw
Arch. Wiskd. (5) 2 (2001), 29–31.
[19] P. Haukkanen, Menon’s identity with respect to a generalized divisibility relation, Aequa-
tiones Math. 70, no. 3 (2005), 240–246.
[20] P. Haukkanen and P. J. McCarthy, Sums of values of even functions, Portugal. Math.
48 (1991), 53–66.
[21] P. Kesava Menon, On the sum Σ (a − 1, n) [(a, n) = 1], J. Indian Math. Soc. 29 (1965),
155–163.
[22] H. G. Kopetzky, Ein asymptotischer Ausdruck für eine zahlentheoretische Funktion,
Monatsh. Math. 84 (1977), 213–217.
[23] A. D. Loveless, The general gcd-product function, Integers 6 (2006), A19, 13 pp. Corri-
gendum: Integers 6 (2006), A39, 3 pp.
[24] P. J. McCarthy, Introduction to Arithmetical Functions, Universitext, Springer-Verlag,
New York, 1986.
[25] W. Narkiewicz, On a class of arithmetical convolutions, Colloq. Math. 10 (1963), 81–94.
[26] S. S. Pillai, On an arithmetic function, J. Annamalai Univ. 2 (1937), 243–248.
[27] S. Samadi, M. O. Ahmad and M. N. S. Swamy, Ramanujan sums and discrete Fourier
transforms, IEEE Signal Processing Letters 12.4 (2005), 293–296.
[28] J. Sándor, Geometric Theorems, Diophantine Equations, and Arithmetic Functions,
American Research Press, Rehoboth, NM, 2002.
[29] J. Sándor and B. Crstici, Handbook of Number Theory II, Kluwer, 2004.
[30] J. Sándor and A.-V. Krámer, Über eine zahlentheoretische Funktion, Math. Morav. 3
(1999), 53–62.
[31] J. Schulte, Über die Jordansche Verallgemeinerung der Eulerschen Funktion, Results
Math. 36 (1999), 354–364.
[32] V. Sita Ramaiah, Arithmetical sums in regular convolutions, J. Reine Angew. Math.
303/304 (1978), 265–283.
[33] R. Sivaramakrishnan, On three extensions of Pillai’s arithmetic function β(n), Math.
Student 39 (1971), 187–190.
[34] R. Sivaramakrishnan, Square-reduced residue systems (mod r) and related arithmetical
functions, Canad. Math. Bull. 22 (1979), 207–220.
[35] R. Sivaramakrishnan, Classical Theory of Arithmetic Functions, Monographs and Text-
books in Pure and Applied Mathematics 126, Marcel Dekker, Inc., New York, 1989.
[36] L. Tóth, The unitary analogue of Pillai’s arithmetical function, Collect. Math. 40 (1989),
19–30.
[37] L. Tóth, Some remarks on a generalization of Euler’s function, Semin. Arghiriade 23
(1990), 9 pp.
[38] L. Tóth, The unitary analogue of Pillai’s arithmetical function. II, Notes Number Theory
Discrete Math. 2 (1996), 40–46.
[39] L. Tóth, A generalization of Pillai’s arithmetical function involving regular convolutions,
Acta Math. Inf. Univ. Ostrava 6 (1998), 203–217.
[40] L. Tóth, Remarks on generalized Ramanujan sums and even functions, Acta Math. Acad.
Paedagog. Nyházi. (N.S.) 20 (2004), 233–238.
178 P. Haukkanen AEM
[41] L. Tóth, On certain arithmetic functions involving exponential divisors, Ann. Univ. Sci.
Budapest. Sect. Comput. 24 (2004), 285–294.
[42] L. Tóth and P. Haukkanen, On an operation involving regular convolutions, Mathematica
42 (65) (2000), 199–209.
[43] R. Vaidyanathaswamy, The theory of multiplicative arithmetic functions, Trans. Amer.
Math. Soc. 33 (1931), 579–662.
Pentti Haukkanen
Department of Mathematics, Statistics and Philosophy
University of Tampere
FI-33014 University of Tampere
Finland
e-mail: mapehau@uta.fi
Manuscript received: February 11, 2007 and, in final form, July 17, 2007.