The sum of positive divisors function σz(n), for a real or complex number z, is defined as the sum of the zth powers of the positive divisors of n. It can be expressed in sigma notation as
where d ∣ n {\displaystyle {d\mid n}} is shorthand for "d divides n". The notations d(n), ν(n) and τ(n) (for the German Teiler = divisors) are also used to denote σ0(n), or the number-of-divisors function12 (OEIS: A000005). When z is 1, the function is called the sigma function or sum-of-divisors function,34 and the subscript is often omitted, so σ(n) is the same as σ1(n) (OEIS: A000203).
The aliquot sum s(n) of n is the sum of the proper divisors (that is, the divisors excluding n itself, OEIS: A001065), and equals σ1(n) − n; the aliquot sequence of n is formed by repeatedly applying the aliquot sum function.
For example, σ0(12) is the number of the divisors of 12:
while σ1(12) is the sum of all the divisors:
and the aliquot sum s(12) of proper divisors is:
σ−1(n) is sometimes called the abundancy index of n, and we have:
The cases x = 2 to 5 are listed in OEIS: A001157 through OEIS: A001160, x = 6 to 24 are listed in OEIS: A013954 through OEIS: A013972.
For a prime number p,
because by definition, the factors of a prime number are 1 and itself. Also, where pn# denotes the primorial,
since n prime factors allow a sequence of binary selection ( p i {\displaystyle p_{i}} or 1) from n terms for each proper divisor formed. However, these are not in general the smallest numbers whose number of divisors is a power of two; instead, the smallest such number may be obtained by multiplying together the first n Fermi–Dirac primes, prime powers whose exponent is a power of two.5
Clearly, 1 < σ 0 ( n ) < n {\displaystyle 1<\sigma _{0}(n)<n} for all n > 2 {\displaystyle n>2} , and σ x ( n ) > n {\displaystyle \sigma _{x}(n)>n} for all n > 1 {\displaystyle n>1} , x > 0 {\displaystyle x>0} .
The divisor function is multiplicative (since each divisor c of the product mn with gcd ( m , n ) = 1 {\displaystyle \gcd(m,n)=1} distinctively correspond to a divisor a of m and a divisor b of n), but not completely multiplicative:
The consequence of this is that, if we write
where r = ω(n) is the number of distinct prime factors of n, pi is the ith prime factor, and ai is the maximum power of pi by which n is divisible, then we have: 6
which, when x ≠ 0, is equivalent to the useful formula: 7
When x = 0, σ 0 ( n ) {\displaystyle \sigma _{0}(n)} is: 8
This result can be directly deduced from the fact that all divisors of n {\displaystyle n} are uniquely determined by the distinct tuples ( x 1 , x 2 , . . . , x i , . . . , x r ) {\displaystyle (x_{1},x_{2},...,x_{i},...,x_{r})} of integers with 0 ≤ x i ≤ a i {\displaystyle 0\leq x_{i}\leq a_{i}} (i.e. a i + 1 {\displaystyle a_{i}+1} independent choices for each x i {\displaystyle x_{i}} ).
For example, if n is 24, there are two prime factors (p1 is 2; p2 is 3); noting that 24 is the product of 23×31, a1 is 3 and a2 is 1. Thus we can calculate σ 0 ( 24 ) {\displaystyle \sigma _{0}(24)} as so:
The eight divisors counted by this formula are 1, 2, 4, 8, 3, 6, 12, and 24.
Euler proved the remarkable recurrence:91011
where σ 1 ( 0 ) = n {\displaystyle \sigma _{1}(0)=n} if it occurs and σ 1 ( x ) = 0 {\displaystyle \sigma _{1}(x)=0} for x < 0 {\displaystyle x<0} , and 1 2 ( 3 i 2 ∓ i ) {\displaystyle {\tfrac {1}{2}}\left(3i^{2}\mp i\right)} are consecutive pairs of generalized pentagonal numbers (OEIS: A001318, starting at offset 1). Indeed, Euler proved this by logarithmic differentiation of the identity in his pentagonal number theorem.
For a non-square integer, n, every divisor, d, of n is paired with divisor n/d of n and σ 0 ( n ) {\displaystyle \sigma _{0}(n)} is even; for a square integer, one divisor (namely n {\displaystyle {\sqrt {n}}} ) is not paired with a distinct divisor and σ 0 ( n ) {\displaystyle \sigma _{0}(n)} is odd. Similarly, the number σ 1 ( n ) {\displaystyle \sigma _{1}(n)} is odd if and only if n is a square or twice a square.12
We also note s(n) = σ(n) − n. Here s(n) denotes the sum of the proper divisors of n, that is, the divisors of n excluding n itself. This function is used to recognize perfect numbers, which are the n such that s(n) = n. If s(n) > n, then n is an abundant number, and if s(n) < n, then n is a deficient number.
If n is a power of 2, n = 2 k {\displaystyle n=2^{k}} , then σ ( n ) = 2 ⋅ 2 k − 1 = 2 n − 1 {\displaystyle \sigma (n)=2\cdot 2^{k}-1=2n-1} and s ( n ) = n − 1 {\displaystyle s(n)=n-1} , which makes n almost-perfect.
As an example, for two primes p , q : p < q {\displaystyle p,q:p<q} , let
Then
and
where φ ( n ) {\displaystyle \varphi (n)} is Euler's totient function.
Then, the roots of
express p and q in terms of σ(n) and φ(n) only, requiring no knowledge of n or p + q {\displaystyle p+q} , as
Also, knowing n and either σ ( n ) {\displaystyle \sigma (n)} or φ ( n ) {\displaystyle \varphi (n)} , or, alternatively, p + q {\displaystyle p+q} and either σ ( n ) {\displaystyle \sigma (n)} or φ ( n ) {\displaystyle \varphi (n)} allows an easy recovery of p and q.
In 1984, Roger Heath-Brown proved that the equality
is true for infinitely many values of n, see OEIS: A005237.
Main article: Dirichlet convolution
By definition: σ = Id ∗ 1 {\displaystyle \sigma =\operatorname {Id} *\mathbf {1} } By Möbius inversion: Id = σ ∗ μ {\displaystyle \operatorname {Id} =\sigma *\mu }
Two Dirichlet series involving the divisor function are: 13
where ζ {\displaystyle \zeta } is the Riemann zeta function. The series for d(n) = σ0(n) gives: 14
and a Ramanujan identity15
which is a special case of the Rankin–Selberg convolution.
A Lambert series involving the divisor function is: 16
for arbitrary complex |q| ≤ 1 and a ( Li {\displaystyle \operatorname {Li} } is the polylogarithm). This summation also appears as the Fourier series of the Eisenstein series and the invariants of the Weierstrass elliptic functions.
For k > 0 {\displaystyle k>0} , there is an explicit series representation with Ramanujan sums c m ( n ) {\displaystyle c_{m}(n)} as :17
The computation of the first terms of c m ( n ) {\displaystyle c_{m}(n)} shows its oscillations around the "average value" ζ ( k + 1 ) n k {\displaystyle \zeta (k+1)n^{k}} :
In little-o notation, the divisor function satisfies the inequality:1819
More precisely, Severin Wigert showed that:20
On the other hand, since there are infinitely many prime numbers,21
In Big-O notation, Peter Gustav Lejeune Dirichlet showed that the average order of the divisor function satisfies the following inequality:2223
where γ {\displaystyle \gamma } is Euler's gamma constant. Improving the bound O ( x ) {\displaystyle O({\sqrt {x}})} in this formula is known as Dirichlet's divisor problem.
The behaviour of the sigma function is irregular. The asymptotic growth rate of the sigma function can be expressed by: 24
where lim sup is the limit superior. This result is Grönwall's theorem, published in 1913 (Grönwall 1913). His proof uses Mertens' third theorem, which says that:
where p denotes a prime.
In 1915, Ramanujan proved that under the assumption of the Riemann hypothesis, Robin's inequality
holds for all sufficiently large n (Ramanujan 1997). The largest known value that violates the inequality is n=5040. In 1984, Guy Robin proved that the inequality is true for all n > 5040 if and only if the Riemann hypothesis is true (Robin 1984). This is Robin's theorem and the inequality became known after him. Robin furthermore showed that if the Riemann hypothesis is false then there are an infinite number of values of n that violate the inequality, and it is known that the smallest such n > 5040 must be superabundant (Akbary & Friggstad 2009). It has been shown that the inequality holds for large odd and square-free integers, and that the Riemann hypothesis is equivalent to the inequality just for n divisible by the fifth power of a prime (Choie et al. 2007).
Robin also proved, unconditionally, that the inequality:
holds for all n ≥ 3.
A related bound was given by Jeffrey Lagarias in 2002, who proved that the Riemann hypothesis is equivalent to the statement that:
for every natural number n > 1, where H n {\displaystyle H_{n}} is the nth harmonic number, (Lagarias 2002).
Long (1972, p. 46) - Long, Calvin T. (1972), Elementary Introduction to Number Theory (2nd ed.), Lexington: D. C. Heath and Company, LCCN 77171950 https://lccn.loc.gov/77171950 ↩
Pettofrezzo & Byrkit (1970, p. 63) - Pettofrezzo, Anthony J.; Byrkit, Donald R. (1970), Elements of Number Theory, Englewood Cliffs: Prentice Hall, LCCN 77081766 https://lccn.loc.gov/77081766 ↩
Pettofrezzo & Byrkit (1970, p. 58) - Pettofrezzo, Anthony J.; Byrkit, Donald R. (1970), Elements of Number Theory, Englewood Cliffs: Prentice Hall, LCCN 77081766 https://lccn.loc.gov/77081766 ↩
Ramanujan, S. (1915), "Highly Composite Numbers", Proceedings of the London Mathematical Society, s2-14 (1): 347–409, doi:10.1112/plms/s2_14.1.347; see section 47, pp. 405–406, reproduced in Collected Papers of Srinivasa Ramanujan, Cambridge Univ. Press, 2015, pp. 124–125 /wiki/Srinivasa_Ramanujan ↩
Hardy & Wright (2008), pp. 310 f, §16.7. - Hardy, G. H.; Wright, E. M. (2008) [1938], An Introduction to the Theory of Numbers, Revised by D. R. Heath-Brown and J. H. Silverman. Foreword by Andrew Wiles. (6th ed.), Oxford: Oxford University Press, ISBN 978-0-19-921986-5, MR 2445243, Zbl 1159.11001 https://mathscinet.ams.org/mathscinet-getitem?mr=2445243 ↩
Euler, Leonhard; Bell, Jordan (2004). "An observation on the sums of divisors". arXiv:math/0411587. /wiki/ArXiv_(identifier) ↩
https://scholarlycommons.pacific.edu/euler-works/175/, Découverte d'une loi tout extraordinaire des nombres par rapport à la somme de leurs diviseurs https://scholarlycommons.pacific.edu/euler-works/175/ ↩
https://scholarlycommons.pacific.edu/euler-works/542/, De mirabilis proprietatibus numerorum pentagonalium https://scholarlycommons.pacific.edu/euler-works/542/ ↩
Gioia & Vaidya (1967). - Gioia, A. A.; Vaidya, A. M. (1967), "Amicable numbers with opposite parity", The American Mathematical Monthly, 74 (8): 969–973, doi:10.2307/2315280, JSTOR 2315280, MR 0220659 https://doi.org/10.2307%2F2315280 ↩
Hardy & Wright (2008), pp. 326–328, §17.5. - Hardy, G. H.; Wright, E. M. (2008) [1938], An Introduction to the Theory of Numbers, Revised by D. R. Heath-Brown and J. H. Silverman. Foreword by Andrew Wiles. (6th ed.), Oxford: Oxford University Press, ISBN 978-0-19-921986-5, MR 2445243, Zbl 1159.11001 https://mathscinet.ams.org/mathscinet-getitem?mr=2445243 ↩
Hardy & Wright (2008), pp. 334–337, §17.8. - Hardy, G. H.; Wright, E. M. (2008) [1938], An Introduction to the Theory of Numbers, Revised by D. R. Heath-Brown and J. H. Silverman. Foreword by Andrew Wiles. (6th ed.), Oxford: Oxford University Press, ISBN 978-0-19-921986-5, MR 2445243, Zbl 1159.11001 https://mathscinet.ams.org/mathscinet-getitem?mr=2445243 ↩
Hardy & Wright (2008), pp. 338–341, §17.10. - Hardy, G. H.; Wright, E. M. (2008) [1938], An Introduction to the Theory of Numbers, Revised by D. R. Heath-Brown and J. H. Silverman. Foreword by Andrew Wiles. (6th ed.), Oxford: Oxford University Press, ISBN 978-0-19-921986-5, MR 2445243, Zbl 1159.11001 https://mathscinet.ams.org/mathscinet-getitem?mr=2445243 ↩
E. Krätzel (1981). Zahlentheorie. Berlin: VEB Deutscher Verlag der Wissenschaften. p. 130. (German) ↩
Apostol (1976), p. 296. - Apostol, Tom M. (1976), Introduction to analytic number theory, Undergraduate Texts in Mathematics, New York-Heidelberg: Springer-Verlag, ISBN 978-0-387-90163-3, MR 0434929, Zbl 0335.10001 https://mathscinet.ams.org/mathscinet-getitem?mr=0434929 ↩
Hardy & Wright (2008), pp. 342–347, §18.1. - Hardy, G. H.; Wright, E. M. (2008) [1938], An Introduction to the Theory of Numbers, Revised by D. R. Heath-Brown and J. H. Silverman. Foreword by Andrew Wiles. (6th ed.), Oxford: Oxford University Press, ISBN 978-0-19-921986-5, MR 2445243, Zbl 1159.11001 https://mathscinet.ams.org/mathscinet-getitem?mr=2445243 ↩
Apostol (1976), Theorem 3.3. - Apostol, Tom M. (1976), Introduction to analytic number theory, Undergraduate Texts in Mathematics, New York-Heidelberg: Springer-Verlag, ISBN 978-0-387-90163-3, MR 0434929, Zbl 0335.10001 https://mathscinet.ams.org/mathscinet-getitem?mr=0434929 ↩
Hardy & Wright (2008), pp. 347–350, §18.2. - Hardy, G. H.; Wright, E. M. (2008) [1938], An Introduction to the Theory of Numbers, Revised by D. R. Heath-Brown and J. H. Silverman. Foreword by Andrew Wiles. (6th ed.), Oxford: Oxford University Press, ISBN 978-0-19-921986-5, MR 2445243, Zbl 1159.11001 https://mathscinet.ams.org/mathscinet-getitem?mr=2445243 ↩
Hardy & Wright (2008), pp. 469–471, §22.9. - Hardy, G. H.; Wright, E. M. (2008) [1938], An Introduction to the Theory of Numbers, Revised by D. R. Heath-Brown and J. H. Silverman. Foreword by Andrew Wiles. (6th ed.), Oxford: Oxford University Press, ISBN 978-0-19-921986-5, MR 2445243, Zbl 1159.11001 https://mathscinet.ams.org/mathscinet-getitem?mr=2445243 ↩