Hello! Welcome to the fourth lesson in our Arithmetic Foundations module.
In our last session, we navigated the world of remainders, using tools like negative remainders and Fermat's/Euler's theorems. A common thread in many of those methods was the need to first break a number down into its prime factors. Today, we'll see that this very same skill—prime factorization—is the key to unlocking another important set of problems in Number Systems.
Our goal for this lesson is to learn how to efficiently calculate the total number of factors, the sum of all factors, and the product of all factors of any given number. These are classic CAT question types, and mastering the formulas will significantly boost your speed and accuracy.
1. The Cornerstone: Prime Factorization
Every problem involving the number, sum, or product of factors begins with one crucial step: prime factorization. This means expressing a composite number as a product of its prime factors.
For instance, to factorize 36, you can use methods like a factor tree or repeated division.

Any number N can be uniquely written in its prime factored form as:
where are distinct prime numbers and are their respective positive integer powers.
This form is the foundation for everything that follows.
2. Finding the Number of Factors
Once you have the prime factorization of a number, finding its total number of factors is straightforward.
Let's say . Any factor of N must be of the form .
- The power of the prime in any factor can range from 0 to . This gives us choices for the exponent (i.e., ).
- Similarly, the power of can range from 0 to , giving us choices for the exponent .
Since you have a computer science background, you can think of this as a simple combinatorial problem. The total number of unique factors is the total number of combinations of these exponents.
Formula for Number of Factors:
If , then the total number of factors is:
Let's watch a video that explains this concept with examples.
Factors Concepts and Tricks - Number system lecture 14 for CAT/XAT/NMAT/SNAP/CMAT/IIFT 2018
This video from StudyIQ IAS explains the core concept of finding the number of factors. Pay attention to how the formula is derived from the powers in the prime factorization.
Watch the segment from 02:25 to 05:25. The instructor explains the general formula and applies it to numbers like 10 and 12.
Test your understanding!
Find the total number of factors for the number 360.
Show answer
-
Prime Factorize 360:
Combining the primes, we get: -
Apply the formula:
The powers are .
Number of factors = .
So, 360 has 24 factors.
3. Finding the Sum of Factors
The logic for the sum of factors also stems directly from the prime factorization. Consider again. The sum of all its factors is the result of expanding the following expression:
Each term in this expansion is a unique factor of N, and the full expansion is their sum. Each bracketed term is a finite geometric progression. The sum of a geometric series is given by . Applying this gives us the formula.
Formula for Sum of Factors:
If , then the sum of its factors is:
Now, let's see this formula in action.
Factors Concepts and Tricks - Number system lecture 14 for CAT/XAT/NMAT/SNAP/CMAT/IIFT 2018
Let's return to the StudyIQ IAS video to see how to apply the formula for the sum of factors.
Watch the segment from 06:02 to 12:52. The instructor introduces the formula and works through an example for the number 10. Don't worry if the formula looks complex at first; its application is quite systematic.
4. Finding the Product of Factors
The method for finding the product of factors is quite intuitive. Let's take the number 36. Its factors are: 1, 2, 3, 4, 6, 9, 12, 18, 36.
If we pair the factors from the ends inwards, notice a pattern:
- The middle factor, 6, is left alone. .
The product is .
The number of factors of 36 () is .
Notice that is exactly half the number of factors ().
This leads to a simple, elegant formula that works for all numbers, whether they are perfect squares or not.
Formula for Product of Factors:
If a number has factors, the product of all its factors is:
where is the total number of factors you calculated in step 2.
This video from Rodha provides an excellent explanation of why this single formula works for both perfect squares (which have an odd number of factors) and non-perfect squares.
Factors 5 || Number Systems || Quantitative Aptitude || CAT Preparation
To solidify your understanding of the product of factors, let's watch this explanation from the Rodha channel. It clearly demonstrates the logic of pairing factors.
Watch the video from 05:23 to 15:08. The instructor first shows the logic for a non-perfect square (48) and then for a perfect square (36), proving that the formula N^(k/2) holds true in both cases.
5. Comprehensive Example and Variations
Now let's put all three concepts together and also look at a common variation: finding the number of odd and even factors.
Factors Concepts and Tricks - Number system lecture 14 for CAT/XAT/NMAT/SNAP/CMAT/IIFT 2018
The StudyIQ IAS video has a great comprehensive example using the number 240. It also covers how to find the number of odd and even factors, a very common CAT question variant.
Please watch from 14:26 to 20:22. First, see how to find odd/even factors (14:26 - 17:04), then watch the full walkthrough for the number 240 (17:04 - 20:22), where all the formulas we've learned are applied.
Summary of finding odd/even factors:
Let (where are odd primes).
- Number of Odd Factors: An odd factor cannot have any power of 2 in it. So, we essentially ignore the part and calculate the number of factors for the remaining odd part of the number: .
- Number of Even Factors: An even factor must have at least one power of 2. The easiest way to find this is:
Alternatively, as the video shows, you take the power of 2 as is (don't add 1), and for all other prime powers, you add 1 as usual: .
Test your understanding!
For the number N = 72, find:
- The total number of factors.
- The number of odd factors.
- The sum of all factors.
- The product of all factors.
Show answer
First, the prime factorization of 72 is .
Here, and .
-
Total Number of Factors:
. -
Number of Odd Factors:
Ignore the power of 2. We are left with .
Number of odd factors = . (The odd factors are , which are 1, 3, and 9). -
Sum of Factors:
. -
Product of Factors:
The formula is N^{\text{num_factors}/2}.
Product = .
Conclusion
Excellent work! Today you've added three powerful, formula-based techniques to your arsenal. The process is systematic and relies on a skill you've already been practicing.
Key Takeaways:
- Prime Factorization is King: Always start by expressing the number as a product of its prime powers: .
- Number of Factors: Add 1 to each exponent and multiply the results: .
- Sum of Factors: Use the geometric series sum for each prime: .
- Product of Factors: Raise the number to the power of (total factors / 2): N^{\text{num_factors}/2}.
In our next lesson, we will wrap up the Arithmetic Foundations module by learning how to determine the unit digit of large exponential expressions. This will bring back the concept of cyclicity we saw in the previous lesson on remainders, showing how these ideas are all interconnected.