|
Re: factors of product of n distinct primes
You said "distinct primes" in your first post. So your answer - and my reason - were correct.
If you are now changing the question, that's fine.
If the primes are not distinct, all you need to do is to calculate the number of equivalence classes of primes. For instance,
P = {2, 2, 3, 3, 3, 5, 7, 7, 11, 11, 11, 11}
=>
P' = { {2, 2}, {3, 3, 3}, {5}, {7, 7}, {11, 11, 11, 11} }
Then the number of factors is 2^|P'| = 32.
If the primes are all unique, then clearly |P'| = |P|.
|