ArticleslgStudy

mathematics

Divisor function

Divisor function is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Divisor function rather than just read about it. In short: 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).

Divisor function — main illustration
Divisor function — illustration

Key takeaways

  • Divisor function belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Divisor function to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Divisor function from memory before moving on to harder problems.

Reference excerpt

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.

Definition 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

σz(n)=∑d∣ndz, where d∣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 function (OEIS: A000005). When z is 1, the function is called the sigma function or sum-of-divisors function, 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.

Example For example, σ0(12) is the number of the divisors of 12:

σ0(12)=10+20+30+40+60+120=1+1+1+1+1+1=6, while σ1(12) is the sum of all the divisors:

σ1(12)=11+21+31+41+61+121=1+2+3+4+6+12=28, and the aliquot sum s(12) of proper divisors is:

s(12)=11+21+31+41+61=1+2+3+4+6=16. σ−1(n) is sometimes called the abundancy index of n, and we have:

σ−1(12)=1−1+2−1+3−1+4−1+6−1+12−1=11+12+13+14+16+112=1212+612+412+312+212+112=12+6+4+3+2+112=2812=73=σ1(12)12

Table of values 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.

Properties

Formulas at prime powers For a prime number p,

σ0(p)=2σ0(pn)=n+1σ1(p)=p+1 because by definition, the factors of a prime number are 1 and itself. Clearly, 1<σ0(n)<n for all n>2, and σx(n)>n for all n>1, x>0. In general, since the divisors of a prime power pa, with a a natural number, are 1=p0,p=p1,p2,…,pa, then

σx(pa)=1x+px+p2x+…+pax

General formula If n=∏i=1rpiai, 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:

σx(n)=∏i=1r∑j=0aipijx=∏i=1r(1+pix+pi2x+⋯+piaix). which, when x ≠ 0, is equivalent to:

σx(n)=∏i=1rpi(ai+1)x−1pix−1. When x = 0, σ0(n) is:

σ0(n)=∏i=1r(ai+1).

Proof: The proof is combinatorial in nature. Distributing (expanding) the product

∏i=1r(1+pix+pi2x+⋯+piaix) gives a sum in which each summand is a product. In the products there is one factor per parentheses, and each is one of the summands in the parentheses. Each such selection gives a different summand. Each such selection is equivalent to select, for each i=1,2,…,r, a value 0≤xi≤ai which will represent selecting the summand pixix from the i-th parentheses. On the other hand, this is the same collection of choices needed to select a divisor of n, and write it as its prime factorization. This is because each divisor of n can be written uniquely in the form ∏i=1rpixi, for 0≤xi≤ai. For example, the divisors of 24=23⋅31 are 20⋅30,20⋅31,21⋅30,21⋅31,22⋅30,22⋅31,23⋅30,23⋅31. These are the same summands obtained when expanding

(20+21+22+23)(30+31) A direct consequence of the formula is that the function n↦σx(n) is multiplicative. In fact, if a,b are relatively prime, then they have prime factorizations ∏i=1rpiai and ∏i=r+1spiai in which the set of primes {pi}i=1r and {pi}i=r+1s are disjoint. Then

σx(ab)=∏i=1s∑j=0aixpijx=∏i=1r∑j=0aixpijx⋅∏i=r+1s∑j=0aixpijx=σx(a)σx(b)

Other properties and identities Euler proved the remarkable recurrence:

σ1(n)=σ1(n−1)+σ1(n−2)−σ1(n−5)−σ1(n−7)+σ1(n−12)+σ1(n−15)+⋯=∑i∈ℕ(−1)i+1(σ1(n−12(3i2−i))+σ1(n−12(3i2+i))), where σ1(0)=n if it occurs and σ1(x)=0 for x<0, and 12(3i2∓i) 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) is even; for a square integer, one divisor (namely n) is not paired with a distinct divisor and σ0(n) is odd. Similarly, the number σ1(n) is odd if and only if n is a square or twice a square. 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=2k, then σ(n)=2⋅2k−1=2n−1 and s(n)=n−1, which makes n almost-perfect. As an example, for two primes p,q:p<q, let

n=pq. Then

σ(n)=(p+1)(q+1)=n+1+(p+q), φ(n)=(p−1)(q−1)=n+1−(p+q), and

n+1=(σ(n)+φ(n))/2, p+q=(σ(n)−φ(n))/2, where φ(n) is Euler's totient function. Then, the roots of

(x−p)(x−q)=x2−(p+q)x+n=x2−[(σ(n)−φ(n))/2]x+[(σ(n)+φ(n))/2−1]=0 express p and q in terms of σ(n) and φ(n) only, requiring no knowledge of n or p+q, as

p=(σ(n)−φ(n))/4−[(σ(n)−φ(n))/4]2−[(σ(n)+φ(n))/2−1], q=(σ(n)−φ(n))/4+[(σ(n)−φ(n))/4]2−[(σ(n)+φ(n))/2−1]. Also, knowing n and either σ(n) or φ(n), or, alternatively, p+q and either σ(n) or φ(n) allows an easy recovery of p and q. In 1984, Roger Heath-Brown proved that the equality

σ0(n)=σ0(n+1) is true for infinitely many values of n, see OEIS: A005237.

Dirichlet convolutions

By definition:σ=Id⁡∗𝟏By Möbius inversion:Id⁡=σ∗μ

Series relations Two Dirichlet series involving the divisor function are:

∑n=1∞σa(n)ns=ζ(s)ζ(s−a)forℜ(s)>1+max⁡{ℜ(a),0}, where ζ is the Riemann zeta function. The series for d(n) = σ0(n) gives:

∑n=1∞d(n)ns=ζ2(s)forℜ(s)>1, and a Ramanujan identity

∑n=1∞σa(n)σb(n)ns=ζ(s)ζ(s−a)ζ(s−b)ζ(s−a−b)ζ(2s−a−b), which is a special case of the Rankin–Selberg convolution. A Lambert series involving the divisor function is:

… excerpt ends here. Continue reading the full article.

Illustrations

Divisor function: Divisor function σ0(n) up to n = 250
Divisor function σ0(n) up to n = 250
Divisor function: Sigma function σ1(n) up to n = 250
Sigma function σ1(n) up to n = 250
Divisor function: Sum of the squares of divisors, σ2(n), up to n = 250
Sum of the squares of divisors, σ2(n), up to n = 250
Divisor function: Sum of cubes of divisors, σ3(n) up to n = 250
Sum of cubes of divisors, σ3(n) up to n = 250

Worked examples

Example 1 — a first encounter with Divisor function

Start with the simplest possible case. Write down what Divisor function claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Divisor function before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Divisor function ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Divisor function

In research
Divisor function appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Divisor function in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Divisor function is common in secondary-school and first-year university syllabi. It links to neighbouring topics Analytic number theory, Divisor function, Number theory, so understanding it makes those chapters shorter.
In everyday life
Look for Divisor function outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Divisor function” →

How to study Divisor function in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Divisor function means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Divisor function out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Divisor function in simple terms?

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).

Why does Divisor function matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Divisor function?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Divisor function.

Tags

  • Analytic number theory
  • Divisor function
  • Number theory
  • Zeta and L-functions

Keep exploring