The method of finding the number of factors (also called divisors) is based on the concept of finding the basic factors (which make up all other factors) and then combining them in different ways to make as many different factors as possible.
Let us say the question asks us to find the number of factors of 72.
We know that 72 = 8x9 = 2^3 x 3^2 - This is called prime factorization. We have essentially brought down 72 to its basic factors.
We find that 72 has three 2s and two 3s. We can combine them in various ways e.g. I could take one 2 and two 3s and make 2x3x3 = 18. Similarly, I could take three 2s and no 3 to make 2x2x2 = 8
Since we have three 2s, we can choose a 2 in four ways (take no 2, take one 2, take two 2s or take three 2s)
Since we have two 3s, we can choose a 3 in three ways (take no 3, take one 3 or take two 3s)
Every time we make a different choice, we get a different factor of 72.
Since we can choose 2s in 4 ways and 3s in 3 ways, together we can choose them in 4x3 = 12 ways. Therefore, 72 will have 12 factors.
This is true for any positive integer N.
If N = 36 x 48 = 2^2 x 3^2 x 2^4 x 3 = 2^6 x 3^3.
To make factors of N, we have seven ways to choose a 2 and four ways to choose a 3. Therefore, we can make 7 x 4 = 28 combinations of these prime factors to give 28 factors of 36x48.
Note: I could write 36 x 48 as 72 x 24 or 64 x 27 or 8 x 8 x 27 or many other ways. The answer doesn't change because it is still the same number N.
Generalizing, if N = p^a x q^b x r^c ... where p, q, r are all distinct prime numbers, the total number of factors of N (including 1 and N ) is (a + 1)(b + 1) (c + 1)...
Remember, the '+1' is because of an option of dropping that particular prime number from our factor.
On that note, if I tell you that a positive integer N has total 7 factors, what can you say about N?