Divisor sum identities
The purpose of this page is to catalog new, interesting, and useful identities related to number-theoretic divisor sums, i.e., sums of an arithmetic function over the divisors of a natural number [math]\displaystyle{ n }[/math], or equivalently the Dirichlet convolution of an arithmetic function [math]\displaystyle{ f(n) }[/math] with one:
- [math]\displaystyle{ g(n) := \sum_{d\mid n} f(d). }[/math]
These identities include applications to sums of an arithmetic function over just the proper prime divisors of [math]\displaystyle{ n }[/math]. We also define periodic variants of these divisor sums with respect to the greatest common divisor function in the form of
- [math]\displaystyle{ g_m(n) := \sum_{d\mid (m,n)} f(d),\ 1 \leq m \leq n }[/math]
Well-known inversion relations that allow the function [math]\displaystyle{ f(n) }[/math] to be expressed in terms of [math]\displaystyle{ g(n) }[/math] are provided by the Möbius inversion formula. Naturally, some of the most interesting examples of such identities result when considering the average order summatory functions over an arithmetic function [math]\displaystyle{ f(n) }[/math] defined as a divisor sum of another arithmetic function [math]\displaystyle{ g(n) }[/math]. Particular examples of divisor sums involving special arithmetic functions and special Dirichlet convolutions of arithmetic functions can be found on the following pages: here, here, here, here, and here.
Average order sum identities
Interchange of summation identities
The following identities are the primary motivation for creating this topics page. These identities do not appear to be well-known, or at least well-documented, and are extremely useful tools to have at hand in some applications. In what follows, we consider that [math]\displaystyle{ f,g,h,u,v: \mathbb{N} \rightarrow \mathbb{C} }[/math] are any prescribed arithmetic functions and that [math]\displaystyle{ G(x) := \sum_{n \leq x} g(n) }[/math] denotes the summatory function of [math]\displaystyle{ g(n) }[/math]. A more common special case of the first summation below is referenced here.[1]
- [math]\displaystyle{ \sum_{n=1}^x v(n) \sum_{d\mid n} h(d) u\left(\frac{n}{d}\right) = \sum_{n=1}^x h(n) \sum_{k=1}^{\left\lfloor \frac{x}{n} \right\rfloor} u(k) v(nk) }[/math]
- [math]\displaystyle{ \begin{align} \sum_{n=1}^x \sum_{d\mid n} f(d) g\left(\frac{n}{d}\right) & = \sum_{n=1}^x f(n) G\left(\left\lfloor \frac{x}{n} \right\rfloor\right) = \sum_{i=1}^x \left(\sum_{\left\lceil \frac{x+1}{i+1} \right\rceil \leq n \leq \left\lfloor \frac{x-1}{i} \right\rfloor} f(n)\right) G(i) + \sum_{d\mid x} G(d) f\left(\frac{x}{d}\right) \end{align} }[/math]
- [math]\displaystyle{ \sum_{d=1}^x f(d) \left(\sum_{r\mid (d,x)} g(r) h\left(\frac{d}{r}\right)\right) = \sum_{r\mid x} g(r) \left(\sum_{1 \leq d \leq x/r} h(d) f(rd)\right) }[/math]
- [math]\displaystyle{ \sum_{m=1}^x \left(\sum_{d\mid(m,x)} f(d) g\left(\frac{x}{d}\right)\right) = \sum_{d\mid x} f(d) g\left(\frac{x}{d}\right) \cdot \frac{x}{d} }[/math]
- [math]\displaystyle{ \sum_{m=1}^x \left(\sum_{d\mid (m,x)} f(d) g\left(\frac{x}{d}\right)\right) t^m = (t^x-1) \cdot \sum_{d\mid x} \frac{t^d f(d)}{t^d-1} g\left(\frac{x}{d}\right) }[/math]
In general, these identities are collected from the so-called "rarities and b-sides" of both well established and semi-obscure analytic number theory notes and techniques and the papers and work of the contributors. The identities themselves are not difficult to prove and are an exercise in standard manipulations of series inversion and divisor sums. Therefore, we omit their proofs here.
The convolution method
The convolution method is a general technique for estimating average order sums of the form
- [math]\displaystyle{ \sum_{n \leq x} f(n) \qquad\text{ or } \qquad \sum_{\stackrel{q \leq x}{q\text{ squarefree}}} f(q), }[/math]
where the multiplicative function f can be written as a convolution of the form [math]\displaystyle{ f(n) = (u \ast v)(n) }[/math] for suitable, application-defined arithmetic functions u and v. A short survey of this method can be found here.
Periodic divisor sums
An arithmetic function is periodic (mod k), or k-periodic, if [math]\displaystyle{ f(n+k) = f(n) }[/math] for all [math]\displaystyle{ n \in \mathbb{N} }[/math]. Particular examples of k-periodic number theoretic functions are the Dirichlet characters [math]\displaystyle{ f(n) = \chi(n) }[/math] modulo k and the greatest common divisor function [math]\displaystyle{ f(n) = (n, k) }[/math]. It is known that every k-periodic arithmetic function has a representation as a finite discrete Fourier series of the form
- [math]\displaystyle{ f(n) = \sum_{m=1}^k a_k(m) e\left(\frac{mn}{k}\right), }[/math]
where the Fourier coefficients [math]\displaystyle{ a_k(m) }[/math] defined by the following equation are also k-periodic:
- [math]\displaystyle{ a_k(m) = \frac{1}{k} \sum_{n=1}^k f(n) e\left(-\frac{mn}{k}\right). }[/math]
We are interested in the following k-periodic divisor sums:
- [math]\displaystyle{ s_k(n) := \sum_{d\mid (n,k)} f(d) g\left(\frac{k}{d}\right) = \sum_{m=1}^k a_k(m) e\left(\frac{mn}{k}\right). }[/math]
It is a fact that the Fourier coefficients of these divisor sum variants are given by the formula [2]
- [math]\displaystyle{ a_k(m) = \sum_{d\mid (m,k)} g(d) f\left(\frac{k}{d}\right) \frac{d}{k}. }[/math]
Fourier transforms of the GCD
We can also express the Fourier coefficients in the equation immediately above in terms of the Fourier transform of any function h at the input of [math]\displaystyle{ \operatorname{gcd}(n, k) }[/math] using the following result where [math]\displaystyle{ c_q(n) }[/math] is a Ramanujan sum (cf. Fourier transform of the totient function):[3]
- [math]\displaystyle{ F_h(m, n) = \sum_{k=1}^{n} h((k,n)) e\left(-\frac{km}{n}\right) = (h \ast c_{\bullet}(m))(n). }[/math]
Thus by combining the results above we obtain that
- [math]\displaystyle{ a_k(m) = \sum_{d\mid(m,k)} g(d) f\left(\frac{k}{d}\right) \frac{d}{k} = \sum_{d\mid k} \sum_{r\mid d} f(r) g(d) c_{\frac{d}{r}}(m). }[/math]
Sums over prime divisors
Let the function [math]\displaystyle{ a(n) }[/math] denote the characteristic function of the primes, i.e., [math]\displaystyle{ a(n) = 1 }[/math] if and only if [math]\displaystyle{ n }[/math] is prime and is zero-valued otherwise. Then as a special case of the first identity in equation (1) in section interchange of summation identities above, we can express the average order sums
- [math]\displaystyle{ \sum_{n=1}^x \sum_{\stackrel{p\mid n}{p\text{ prime}}} f(p) = \sum_{p=1}^x a(p) f(p) \left\lfloor \frac{x}{p} \right\rfloor = \sum_{\stackrel{p=1}{p\text{ prime}}}^x f(p) \left\lfloor \frac{x}{p} \right\rfloor. }[/math]
We also have an integral formula based on Abel summation for sums of the form [4]
- [math]\displaystyle{ \sum_{\stackrel{p=1}{p\text{ prime}}}^x f(p) = \pi(x) f(x) - \int_2^x \pi(t) f^{\prime}(t) dt \approx \frac{x f(x)}{\log x} - \int_2^x \frac{t}{\log t} f^{\prime}(t) dt, }[/math]
where [math]\displaystyle{ \pi(x) \sim \frac{x}{\log x} }[/math] denotes the prime-counting function. Here we typically make the assumption that the function f is continuous and differentiable.
Some lesser appreciated divisor sum identities
We have the following divisor sum formulas for f any arithmetic function and g completely multiplicative where [math]\displaystyle{ \varphi(n) }[/math] is Euler's totient function and [math]\displaystyle{ \mu(n) }[/math] is the Möbius function:[5][6]
- [math]\displaystyle{ \sum_{d\mid n} f(d) \varphi\left(\frac{n}{d}\right) = \sum_{k=1}^n f(\operatorname{gcd}(n, k)) }[/math]
- [math]\displaystyle{ \sum_{d\mid n} \mu(d) f(d) = \prod_{\stackrel{p\mid n}{p\text{ prime}}} (1-f(p)) }[/math]
- [math]\displaystyle{ f(m)f(n) = \sum_{d\mid (m,n)} g(d) f\left(\frac{mn}{d^2}\right). }[/math]
- If f is completely multiplicative then the pointwise multiplication [math]\displaystyle{ \cdot }[/math] with a Dirichlet convolution yields [math]\displaystyle{ f \cdot (g \ast h) = (f \cdot g) \ast (f \cdot h) }[/math].
- [math]\displaystyle{ \sum_{d^k\mid n} \mu(d) = \Biggl\{\begin{array}{ll} 0, & \text{ if } m^k\mid n \text{ for some } m\gt 1; \\ 1, & \text{otherwise.}\end{array} }[/math]
- If [math]\displaystyle{ m \geq 1 }[/math] and n has more than m distinct prime factors, then [math]\displaystyle{ \sum_{d\mid n} \mu(d) \log^m(d) = 0. }[/math]
The Dirichlet inverse of an arithmetic function
We adopt the notation that [math]\displaystyle{ \varepsilon(n) = \delta_{n,1} }[/math] denotes the multiplicative identity of Dirichlet convolution so that [math]\displaystyle{ (\varepsilon \ast f)(n) = (f \ast \varepsilon)(n) = f(n) }[/math] for any arithmetic function f and [math]\displaystyle{ n \geq 1 }[/math]. The Dirichlet inverse of a function f satisfies [math]\displaystyle{ (f \ast f^{-1})(n) = (f^{-1} \ast f)(n) = \varepsilon(n) }[/math] for all [math]\displaystyle{ n \geq 1 }[/math]. There is a well-known recursive convolution formula for computing the Dirichlet inverse [math]\displaystyle{ f^{-1}(n) }[/math] of a function f by induction given in the form of [7]
- [math]\displaystyle{ f^{-1}(n) = \Biggl\{\begin{array}{ll} \frac{1}{f(1)}, & \text{ if } n = 1; \\ -\frac{1}{f(1)} \sum_{\stackrel{d\mid n}{d\gt 1}} f(d) f^{-1}\left(\frac{n}{d}\right), & \text{ if } n\gt 1. \end{array} }[/math]
For a fixed function f, let the function [math]\displaystyle{ f_{\pm}(n) := (-1)^{\delta_{n,1}} f(n) = \Biggl\{\begin{matrix} -f(1), & \text{ if } n=1; \\ f(n), & \text{ if } n\gt 1 \end{matrix} }[/math]
Next, define the following two multiple, or nested, convolution variants for any fixed arithmetic function f:
- [math]\displaystyle{ \begin{align} \widetilde{\operatorname{ds}}_{j,f}(n) & := \underbrace{\left(f_{\pm} \ast f \ast \cdots \ast f\right)}_{j\text{ times}}(n) \\ \operatorname{ds}_{j,f}(n) & := \Biggl\{\begin{array}{ll} f_{\pm}(n), & \text{ if } j=1; \\ \sum\limits_{\stackrel{d\mid n}{d\gt 1}} f(d) \operatorname{ds}_{j-1,f}(n/d), & \text{ if } j \gt 1. \end{array} \end{align} }[/math]
The function [math]\displaystyle{ D_f(n) }[/math] by the equivalent pair of summation formulas in the next equation is closely related to the Dirichlet inverse for an arbitrary function f.[8]
- [math]\displaystyle{ D_f(n) := \sum_{j=1}^n \operatorname{ds}_{2j,f}(n) = \sum_{m=1}^{\left\lfloor \frac{n}{2} \right\rfloor} \sum_{i=0}^{2m-1} \binom{2m-1}{i} (-1)^{i+1} \widetilde{\operatorname{ds}}_{i+1,f}(n) }[/math]
In particular, we can prove that [9]
- [math]\displaystyle{ f^{-1}(n) = \left(D + \frac{\varepsilon}{f(1)}\right)(n). }[/math]
A table of the values of [math]\displaystyle{ D_f(n) }[/math] for [math]\displaystyle{ 2 \leq n \leq 16 }[/math] appears below. This table makes precise the intended meaning and interpretation of this function as the signed sum of all possible multiple k-convolutions of the function f with itself.
n | [math]\displaystyle{ D_f(n) }[/math] | n | [math]\displaystyle{ D_f(n) }[/math] | n | [math]\displaystyle{ D_f(n) }[/math] |
---|---|---|---|---|---|
2 | [math]\displaystyle{ -\frac{f(2)}{f(1)^2} }[/math] | 7 | [math]\displaystyle{ -\frac{f(7)}{f(1)^2} }[/math] | 12 | [math]\displaystyle{ \frac{2 f(3) f(4)+2 f(2) f(6)-f(1) f(12)}{f(1)^3}-\frac{3 f(2)^2 f(3)}{f(1)^4} }[/math] |
3 | [math]\displaystyle{ -\frac{f(3)}{f(1)^2} }[/math] | 8 | [math]\displaystyle{ \frac{2 f(2) f(4)-f(1) f(8)}{f(1)^3}-\frac{f(2)^3}{f(1)^4} }[/math] | 13 | [math]\displaystyle{ -\frac{f(13)}{f(1)^2} }[/math] |
4 | [math]\displaystyle{ \frac{f(2)^2-f(1) f(4)}{f(1)^3} }[/math] | 9 | [math]\displaystyle{ \frac{f(3)^2-f(1) f(9)}{f(1)^3} }[/math] | 14 | [math]\displaystyle{ \frac{2f(2) f(7)-f(1) f(14)}{f(1)^3} }[/math] |
5 | [math]\displaystyle{ -\frac{f(5)}{f(1)^2} }[/math] | 10 | [math]\displaystyle{ \frac{2f(2) f(5)-f(1) f(10)}{f(1)^3} }[/math] | 15 | [math]\displaystyle{ \frac{2f(3) f(5)-f(1) f(15)}{f(1)^3} }[/math] |
6 | [math]\displaystyle{ \frac{2 f(2) f(3)-f(1) f(6)}{f(1)^3} }[/math] | 11 | [math]\displaystyle{ -\frac{f(11)}{f(1)^2} }[/math] | 16 | [math]\displaystyle{ \frac{f(2 )^4}{f(1)^5}-\frac{3 f(4) f(2)^2}{f(1)^4}+\frac{f(4)^2+2 f(2) f(8)}{f(1)^3}-\frac{f(16)}{f(1)^2} }[/math] |
Let [math]\displaystyle{ p_k(n) := p(n-k) }[/math] where p is the Partition function (number theory). Then there is another expression for the Dirichlet inverse given in terms of the functions above and the coefficients of the q-Pochhammer symbol for [math]\displaystyle{ n \gt 1 }[/math] given by [8]
- [math]\displaystyle{ f^{-1}(n) = \sum_{k=1}^{n} \left[(p_k \ast \mu)(n) + (p_k \ast D_f \ast \mu)(n)\right] \times [q^{k-1}] \frac{(q; q)_{\infty}}{1-q}. }[/math]
Variants of sums over arithmetic functions
This section needs expansion with:
|
See also
Notes
- ↑ See also Section 3.10 of Apostol.
- ↑ Section 27.10 in the NIST Handbook of Mathematical Functions (DLMF).
- ↑ Schramm, W. (2008). "The Fourier transform of functions of the greatest common divisors". Integers 8.
- ↑ See Section 2.2 in Villarino, M. B. (2005). "Mertens' Proof of Mertens' Theorem". arXiv:math/0504289.
- ↑ In respective order from Apostol's book: Exercise 2.29, Theorem 2.18, and Exercises 2.31-2.32
- ↑ The first identity has a well-known Dirichlet series of the form [math]\displaystyle{ \sum_{n \geq 1} \frac{1}{n^s} \sum_{k=1}^n f(\operatorname{gcd}(n, k)) = \frac{\zeta(s-1)}{\zeta(s)} \sum_{n \geq 1} \frac{f(n)}{n^s} }[/math] catalogued in Gould, Henry W.; Shonhiwa, Temba (2008). "A catalogue of interesting Dirichlet series". Miss. J. Math. Sci. 20 (1). Archived from the original on 2011-10-02. https://web.archive.org/web/20111002201720/http://www.math-cs.ucmo.edu/~mjms/2008-1p.html.
- ↑ See Section 2.7 of Apostol's book for a proof.
- ↑ 8.0 8.1 M. Merca and M. D. Schmidt (2017). "Factorization Theorems for Generalized Lambert Series and Applications". pp. 13–20. arXiv:1712.00611 [math.NT].
- ↑ This identity is proved in an unpublished manuscript by M. D. Schmidt which will appear on ArXiv in 2018.
References
- Apostol, T. (1976). Introduction to Analytic Number Theory. New York: Springer. ISBN 0-387-90163-9. https://archive.org/details/introductiontoan00apos_0.
- Digital Library of Mathematical Functions (DLMF). NIST. 2018. https://dlmf.nist.gov/. Retrieved 24 April 2018.
- Tao, Terrence. "Dirichlet convolution: What's new?". https://terrytao.wordpress.com/tag/dirichlet-convolution/.
Original source: https://en.wikipedia.org/wiki/Divisor sum identities.
Read more |