In mathematics, and specifically in number theory, a divisor function is an arithmetic function related to the divisors of an integer. When referred to as the divisor function, it counts the number of divisors of an integer (including 1 and the number itself). It appears in a number of remarkable identities, including relationships on the Riemann zeta function and the Eisenstein series of modular forms. Divisor functions were studied by Ramanujan, who gave a number of important congruences and identities; these are treated separately in the article Ramanujan's sum.
A related function is the divisor summatory function, which, as the name implies, is a sum over the divisor function.
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 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 function [1] [2] ( OEIS: A000005 ). When z is 1, the function is called the sigma function or sum-of-divisors function, [1] [3] 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 .
n | prime factorization | 𝜎0(n) | 𝜎1(n) | 𝜎2(n) | 𝜎3(n) | 𝜎4(n) |
---|---|---|---|---|---|---|
1 | 1 | 1 | 1 | 1 | 1 | 1 |
2 | 2 | 2 | 3 | 5 | 9 | 17 |
3 | 3 | 2 | 4 | 10 | 28 | 82 |
4 | 22 | 3 | 7 | 21 | 73 | 273 |
5 | 5 | 2 | 6 | 26 | 126 | 626 |
6 | 2×3 | 4 | 12 | 50 | 252 | 1394 |
7 | 7 | 2 | 8 | 50 | 344 | 2402 |
8 | 23 | 4 | 15 | 85 | 585 | 4369 |
9 | 32 | 3 | 13 | 91 | 757 | 6643 |
10 | 2×5 | 4 | 18 | 130 | 1134 | 10642 |
11 | 11 | 2 | 12 | 122 | 1332 | 14642 |
12 | 22×3 | 6 | 28 | 210 | 2044 | 22386 |
13 | 13 | 2 | 14 | 170 | 2198 | 28562 |
14 | 2×7 | 4 | 24 | 250 | 3096 | 40834 |
15 | 3×5 | 4 | 24 | 260 | 3528 | 51332 |
16 | 24 | 5 | 31 | 341 | 4681 | 69905 |
17 | 17 | 2 | 18 | 290 | 4914 | 83522 |
18 | 2×32 | 6 | 39 | 455 | 6813 | 112931 |
19 | 19 | 2 | 20 | 362 | 6860 | 130322 |
20 | 22×5 | 6 | 42 | 546 | 9198 | 170898 |
21 | 3×7 | 4 | 32 | 500 | 9632 | 196964 |
22 | 2×11 | 4 | 36 | 610 | 11988 | 248914 |
23 | 23 | 2 | 24 | 530 | 12168 | 279842 |
24 | 23×3 | 8 | 60 | 850 | 16380 | 358258 |
25 | 52 | 3 | 31 | 651 | 15751 | 391251 |
26 | 2×13 | 4 | 42 | 850 | 19782 | 485554 |
27 | 33 | 4 | 40 | 820 | 20440 | 538084 |
28 | 22×7 | 6 | 56 | 1050 | 25112 | 655746 |
29 | 29 | 2 | 30 | 842 | 24390 | 707282 |
30 | 2×3×5 | 8 | 72 | 1300 | 31752 | 872644 |
31 | 31 | 2 | 32 | 962 | 29792 | 923522 |
32 | 25 | 6 | 63 | 1365 | 37449 | 1118481 |
33 | 3×11 | 4 | 48 | 1220 | 37296 | 1200644 |
34 | 2×17 | 4 | 54 | 1450 | 44226 | 1419874 |
35 | 5×7 | 4 | 48 | 1300 | 43344 | 1503652 |
36 | 22×32 | 9 | 91 | 1911 | 55261 | 1813539 |
37 | 37 | 2 | 38 | 1370 | 50654 | 1874162 |
38 | 2×19 | 4 | 60 | 1810 | 61740 | 2215474 |
39 | 3×13 | 4 | 56 | 1700 | 61544 | 2342084 |
40 | 23×5 | 8 | 90 | 2210 | 73710 | 2734994 |
41 | 41 | 2 | 42 | 1682 | 68922 | 2825762 |
42 | 2×3×7 | 8 | 96 | 2500 | 86688 | 3348388 |
43 | 43 | 2 | 44 | 1850 | 79508 | 3418802 |
44 | 22×11 | 6 | 84 | 2562 | 97236 | 3997266 |
45 | 32×5 | 6 | 78 | 2366 | 95382 | 4158518 |
46 | 2×23 | 4 | 72 | 2650 | 109512 | 4757314 |
47 | 47 | 2 | 48 | 2210 | 103824 | 4879682 |
48 | 24×3 | 10 | 124 | 3410 | 131068 | 5732210 |
49 | 72 | 3 | 57 | 2451 | 117993 | 5767203 |
50 | 2×52 | 6 | 93 | 3255 | 141759 | 6651267 |
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 ( 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. [4]
Clearly, for all , and for all , .
The divisor function is multiplicative (since each divisor c of the product mn with 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: [5]
which, when x ≠ 0, is equivalent to the useful formula: [5]
When x = 0, is: [5]
This result can be directly deduced from the fact that all divisors of are uniquely determined by the distinct tuples of integers with (i.e. independent choices for each ).
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 as so:
The eight divisors counted by this formula are 1, 2, 4, 8, 3, 6, 12, and 24.
Euler proved the remarkable recurrence: [6] [7] [8]
where if it occurs and for , and 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 is even; for a square integer, one divisor (namely ) is not paired with a distinct divisor and is odd. Similarly, the number is odd if and only if n is a square or twice a square. [9]
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, , then and , which makes n almost-perfect.
As an example, for two primes , let
Then
and
where 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 , as
Also, knowing n and either or , or, alternatively, and either or 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 .
Two Dirichlet series involving the divisor function are: [10]
where is the Riemann zeta function. The series for d(n) = σ0(n) gives: [10]
which is a special case of the Rankin–Selberg convolution.
A Lambert series involving the divisor function is: [12]
for arbitrary complex |q| ≤ 1 and a. This summation also appears as the Fourier series of the Eisenstein series and the invariants of the Weierstrass elliptic functions.
For , there is an explicit series representation with Ramanujan sums as : [13]
The computation of the first terms of shows its oscillations around the "average value" :
In little-o notation, the divisor function satisfies the inequality: [14] [15]
More precisely, Severin Wigert showed that: [15]
On the other hand, since there are infinitely many prime numbers, [15]
In Big-O notation, Peter Gustav Lejeune Dirichlet showed that the average order of the divisor function satisfies the following inequality: [16] [17]
where is Euler's gamma constant. Improving the bound 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: [18]
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 is the nth harmonic number, ( Lagarias 2002 ).
In number theory, an arithmetic, arithmetical, or number-theoretic function is generally any function f(n) whose domain is the positive integers and whose range is a subset of the complex numbers. Hardy & Wright include in their definition the requirement that an arithmetical function "expresses some arithmetical property of n". There is a larger class of number-theoretic functions that do not fit this definition, for example, the prime-counting functions. This article provides links to functions of both classes.
In number theory, a multiplicative function is an arithmetic function f(n) of a positive integer n with the property that f(1) = 1 and whenever a and b are coprime.
In mathematics, the classic Möbius inversion formula is a relation between pairs of arithmetic functions, each defined from the other by sums over divisors. It was introduced into number theory in 1832 by August Ferdinand Möbius.
The Riemann zeta function or Euler–Riemann zeta function, denoted by the Greek letter ζ (zeta), is a mathematical function of a complex variable defined as for , and its analytic continuation elsewhere.
In number theory, Euler's totient function counts the positive integers up to a given integer n that are relatively prime to n. It is written using the Greek letter phi as or , and may also be called Euler's phi function. In other words, it is the number of integers k in the range 1 ≤ k ≤ n for which the greatest common divisor gcd(n, k) is equal to 1. The integers k of this form are sometimes referred to as totatives of n.
The Liouville lambda function, denoted by λ(n) and named after Joseph Liouville, is an important arithmetic function. Its value is +1 if n is the product of an even number of prime numbers, and −1 if it is the product of an odd number of primes.
In mathematics, the n-th harmonic number is the sum of the reciprocals of the first n natural numbers:
In mathematics, a Dirichlet series is any series of the form where s is complex, and is a complex sequence. It is a special case of general Dirichlet series.
In mathematics, the Clausen function, introduced by Thomas Clausen, is a transcendental, special function of a single variable. It can variously be expressed in the form of a definite integral, a trigonometric series, and various other forms. It is intimately connected with the polylogarithm, inverse tangent integral, polygamma function, Riemann zeta function, Dirichlet eta function, and Dirichlet beta function.
In mathematics, the Lerch transcendent, is a special function that generalizes the Hurwitz zeta function and the polylogarithm. It is named after Czech mathematician Mathias Lerch, who published a paper about a similar function in 1887. The Lerch transcendent, is given by:
In mathematics, the explicit formulae for L-functions are relations between sums over the complex number zeroes of an L-function and sums over prime powers, introduced by Riemann (1859) for the Riemann zeta function. Such explicit formulae have been applied also to questions on bounding the discriminant of an algebraic number field, and the conductor of a number field.
In number theory, the Dedekind psi function is the multiplicative function on the positive integers defined by
In mathematics, a natural number a is a unitary divisor of a number b if a is a divisor of b and if a and are coprime, having no common factor other than 1. Equivalently, a divisor a of b is a unitary divisor if and only if every prime factor of a has the same multiplicity in a as it has in b.
In number theory, Ramanujan's sum, usually denoted cq(n), is a function of two positive integer variables q and n defined by the formula
In mathematics, the multiple zeta functions are generalizations of the Riemann zeta function, defined by
In number theory, an average order of an arithmetic function is some simpler or better-understood function which takes the same values "on average".
In mathematics, the Riemann hypothesis is the conjecture that the Riemann zeta function has its zeros only at the negative even integers and complex numbers with real part 1/2. Many consider it to be the most important unsolved problem in pure mathematics. It is of great interest in number theory because it implies results about the distribution of prime numbers. It was proposed by Bernhard Riemann, after whom it is named.
Anatoly Alexeyevich Karatsuba was a Russian mathematician working in the field of analytic number theory, p-adic numbers and Dirichlet series.
In number theory, the prime omega functions and count the number of prime factors of a natural number Thereby counts each distinct prime factor, whereas the related function counts the total number of prime factors of honoring their multiplicity. That is, if we have a prime factorization of of the form for distinct primes , then the respective prime omega functions are given by and . These prime factor counting functions have many important number theoretic relations.
In number theory, the totient summatory function is a summatory function of Euler's totient function defined by: