Hello all,
The problem I have is to find the number of divisors for a given integer x. I can do this easily by finding the prime factorization, adding one to each exponent, and multiplying those exponents. My question is: why does multiplying the exponents with one added produce the number of factors? My efforts with the permutation and combination formulas have failed.
I understand why I am adding the one: it's to account for 0 being an exponential value.
Example: 42. The prime factorization is 2^13^17^1.
Each of those exponents is 1, so adding one to each is 2. 222=8. There are, in fact, 8 factors (1, 2, 3, 6, 7, 14, 21, 42).
The problem I have is to find the number of divisors for a given integer x. I can do this easily by finding the prime factorization, adding one to each exponent, and multiplying those exponents. My question is: why does multiplying the exponents with one added produce the number of factors? My efforts with the permutation and combination formulas have failed.
I understand why I am adding the one: it's to account for 0 being an exponential value.
Example: 42. The prime factorization is 2^13^17^1.
Each of those exponents is 1, so adding one to each is 2. 222=8. There are, in fact, 8 factors (1, 2, 3, 6, 7, 14, 21, 42).