I'm trying to prove the following statement regarding the fundamental facts of prime numbers, but I don't really understand the relationship between $a$ and $b$.
In order to find all the divisors of any number $a$ we need only decompose $a$ into a product
$$ a=p^{\alpha_1}_{1} \cdot p^{\alpha_2}_{2} \cdots p^{\alpha_r}_{r}$$
where the $p$'s are distinct primes, each raised to a certain power. All the divisors of $a$ are the numbers
$$ b=p^{\beta_1}_{1} \cdot p^{\beta_2}_{2} \cdots p^{\beta_r}_{r}$$
where the $\beta$'s are any integers satisfying the inequalities
$$ 0 \le\beta_1\le\alpha_1, 0 \le\beta_2\le\alpha_2, \cdots, 0 \le\beta_r\le\alpha_r $$
Prove this statement. As a consequence, show that the number of different divisors of $a$ (including the divisors $a$ and $1$) is given by the product
$$ (\alpha_1 + 1)(\alpha_2+1)\cdots(\alpha_r+1) $$
I know that a composite number can be factored into a product of primes in only one way; and that if a prime $p$ is a factor of $ab$, it must be a factor of either $a$ or $b$ - but I don't see how they relate to the above. What are the first steps or realizations I need to make?