Welcome back. In our last lesson, we explored the conceptual depth of the Fundamental Theorem of Arithmetic (FTA), establishing that the unique prime factorization of any integer is a rigid and reliable structure. We saw that this property is not a given, and its absence in other number systems leads to a breakdown of familiar arithmetic properties.
Today, we will put the FTA to work. Having established that every integer can be uniquely written as , we can now use this structure to answer two classic questions in number theory:
- How many positive divisors does have?
- What is the sum of these positive divisors?
We will derive the standard formulas for these quantities, denoted by (tau) and (sigma) respectively. This lesson will demonstrate how the abstract structure of the FTA translates directly into powerful computational and problem-solving tools.
1. The Number of Divisors:
Let's begin by defining the functions we'll be working with.
1.15: Number Theoretic Functions - Mathematics LibreTexts
This section from Mathematics LibreTexts provides the formal definitions for the functions we will be studying today.
Please read the two definitions under the heading "Functions related to divisors". This will formally introduce you to the notation \tau(n) for the number of divisors and \sigma(n) for their sum.
To derive a formula for , the key insight is to consider the structure of a divisor based on the prime factorization of .
Suppose . If is a divisor of , what can we say about the prime factorization of ? By the FTA, any prime factor of must also be a prime factor of . This means that must be of the form:
Furthermore, for to divide , the exponent of each prime in cannot exceed the corresponding exponent in . This gives us the crucial constraint: for each from 1 to , we must have .
This transforms the problem of counting divisors into a simple combinatorial counting problem. For each prime factor , we need to choose an exponent .
- For the prime , the exponent can be any integer from 0 to . This gives us choices.
- For the prime , the exponent can be any integer from 0 to . This gives us choices.
- ...and so on, up to , for which we have choices for the exponent .
Since the choice of each exponent is independent, the total number of ways to form a divisor is the product of the number of choices for each exponent. The uniqueness guaranteed by the FTA ensures that each distinct combination of exponents produces a distinct divisor.
This leads directly to the formula for . The following resource provides a concise, formal statement and proof of this result.
1.15: Number Theoretic Functions - Mathematics LibreTexts
This text formalizes the argument we just developed.
Please read the statement of Theorem 1.15.1 and the proof for part (1). Notice how it directly mirrors our reasoning about the possible choices for the exponents of the prime factors. Also, review the example for n=72.
So, for , the number of positive divisors is:
For instance, consider . Here and . The number of divisors is .
2. The Sum of Divisors:
Deriving the formula for the sum of divisors, , requires a slightly more subtle algebraic insight, but it flows from the same principle: analyzing the structure of divisors.
Let's consider our example again. The twelve divisors are all numbers of the form where and . To find their sum, we need to compute:
Writing out this sum term-by-term can be cumbersome. Instead, let's consider the following product:
If you apply the distributive property to expand this product, each term in the expansion will be the product of one term from the first parenthesis and one term from the second. For example, you would get terms like , , , , and so on.
Critically, you will find that the terms generated by this expansion are precisely the twelve unique divisors of 72. The expanded form of the product is exactly the sum of all divisors. This insight is the key to the formula for .
The following article walks through this derivation beautifully, starting with a simple example and generalizing the result.
Summing Divisors – The Math Doctors
This article from "The Math Doctors" explains the derivation of the sum of divisors formula from first principles, using the idea of factoring by grouping which is equivalent to our product expansion.
Read the first section, "Almost a formula". Pay close attention to how the sum of the divisors of 18 is rearranged and factored to become the product (2^0 + 2^1)(3^0+3^1+3^2). This is the core conceptual step.
Generalizing this, for any integer , the sum of its divisors is given by the product:
Each term in this product, , is a finite geometric series. You are likely familiar with the formula for its sum, but a quick review is always helpful.

Using the formula for the sum of a geometric progression, , we can write our expression for in a more compact and elegant form.
Summing Divisors – The Math Doctors
This next section formalizes the formula and connects it to the geometric series sum.
Now, read the section "Prove the formula". It presents the final formula for the sum of divisors and includes a quick algebraic derivation of the geometric series formula, which you can use to refresh your memory.
This gives us our final formula. For , the sum of positive divisors is:
3. An Alternative View: Multiplicative Functions
The derivation above is beautifully constructive. It builds the formula directly from the structure of the divisors. There is another, slightly more abstract path to the same result that introduces an important concept in number theory: multiplicative functions.
A function on the positive integers is called multiplicative if whenever and are coprime (i.e., ).
It can be shown from the definitions that both and are multiplicative functions. If we can prove this property first, the general formulas follow easily.
- First, prove is multiplicative.
- Second, find a formula for on prime powers, .
- Combine these results. Since and all the terms are pairwise coprime, we have .
This approach is powerful because it separates the problem into proving a general structural property (multiplicativity) and solving a simpler special case (prime powers). The following video provides a clear proof for using this method. The argument for why is multiplicative relies on a combinatorial bijection, a style of reasoning that is very common in Olympiad mathematics.
The Sigma Function ( Sum of divisors)
This video from Prime Newtons offers a proof of the sigma function formula from a different perspective, emphasizing the property of multiplicativity.
First, watch the derivation for a single prime power from 10:36 to 15:21. This part shows that \sigma(p^a) = \frac{p^{a+1}-1}{p-1} by summing a geometric series. Next, watch the proof of the multiplicative property from 15:21 to 25:21. The key idea here is establishing a one-to-one correspondence (a bijection) between the divisors of a product mn (with \gcd(m,n)=1) and pairs of divisors of m and n. This is a valuable proof technique to understand.
Seeing both the constructive derivation (expanding the product) and the property-based derivation (proving multiplicativity) gives you a more robust and flexible understanding of why these formulas hold.
Conclusion
In this lesson, we have leveraged the Fundamental Theorem of Arithmetic to derive two of the most important formulas in elementary number theory.
Key Takeaways:
- The structure of any divisor of an integer is completely determined by the prime factorization of .
- If , the number of divisors is found by a combinatorial argument:
- The sum of divisors is found by recognizing the sum as the expansion of a product of geometric series:
- Both and are multiplicative functions, a property which provides an alternative and powerful way to derive their formulas.
We have now seen not only why prime factorization is unique but also how that uniqueness provides the foundation for powerful quantitative tools. In our next lesson, we will continue to explore the consequences of the FTA by examining how the exponents in a prime factorization can be used to characterize special types of numbers, such as perfect squares, cubes, and higher powers.