The first question asks for positive integer solutions to $x\cdot y \cdot z=5^9$.
I solved it by finding the coefficient of $x^9$ of the generating function $(1 + x^1 + x^2 + x^3 ... + x^9)^3$ since $5$ is a prime.
which gives the answer $28$
But the second question which asks for positive integer solutions to $x \cdot y\cdot z=12^5$
where 12 is not a prime.
Not sure my solving step is correct or not.
If it is not wrong then how do I deal the situation like the second question?
Any assistance will be appreciated. Thanks