I'm trying to prove that the number of divisors of any given number is $(a_1+1)(a_2+1)...(a_r+1)$ Where $a_1, a_2 ... a_r$ are from $p_1^{a_1}p_2^{a_2}\cdots p_r^{a_r}$
The problem is that the proof seems too easy and hard to describe, I have a intuitive feeling that it is wrong. My argument for the proof is:
We can take any of the primes and raise it to any power between $0$ to $a_r$. That's $a_r+1$ combinations. I also know that in order to find the possible number of combinations for $X$ and $Y$ where $X$ can have any of $R$ values and $Y$ can have any of $T$ values is simply $RT$. Hence, the total number of combinations for the divisors comes out to be $(a_1+1)(a_2+1)...(a_r+1)$.