Finding the Number of Factors of a Number
The formula
Write a number as a product of prime powers, N=p1a1p2a2⋯pkak. Every factor of N is built by independently choosing an exponent from 0 to ai for each prime, so the total count of factors (including 1 and N itself) is:
(a1+1)(a2+1)⋯(ak+1)Worked example
How many divisors does 9600 have, including 1 and 9600 itself?
Solution: Prime factorize first:
9600=27×31×52Add 1 to each exponent and multiply:
(7+1)(1+1)(2+1)=8×2×3=48Worked example: already factored
How many positive divisors does 25⋅36⋅73 have?
Solution: The prime factorization is already given, so apply the formula directly:
(5+1)(6+1)(3+1)=6×7×4=168Continue learning
This same counting-by-independent-choices idea is exactly how permutations and combinations count arrangements more generally.