Let $n=p^eq^f$ where $p$ and $q$ are distinct primes and $e$ and $f$ are positive integers.
Show that $n$ has $(e + 1)(f + 1)$ distinct factors in $N$, and that the sum of all these factors is $(p^{e+1} −1)(q^{f+1} −1) / (p − 1)(q − 1)$ (You may assume the uniqueness of prime factorization).
What if $n$ has more than two distinct prime factors? (Hint: you may wish to warm up by doing n = pe first.)
Sorry I have no idea where to start :(
Would doing $n=p^e$ first be easiest?
I'll do a warm up for you. Warm-ups help us understand the nature of a problem and how all of the relevant parts interact. Therefore when an exercise comes with warm-ups and you want to understand how to do the exercise, it's a good idea to try your hand at the warm-ups. Just for future reference. If you followed the directions and did work on the warm-up, then note you should talk about what you've tried and anywhere you got stuck whenever you post a question here.
Here are all factors of $648=2^33^4$
$$\begin{array}{|c|c|c|}\hline \color{Red}{2^0} \color{Blue}{3^0} & \color{Red}{2^1} 3^0 & \color{Red}{2^2}3^0 & \color{Red}{2^3} 3^0 \\ \hline 2^0 \color{Blue}{3^1} & 2^1 3^1 & 2^23^1 & 2^3 3^1 \\ \hline 2^0 \color{Blue}{3^2} & 2^13^2 & 2^23^2 & 2^3 3^2 \\ \hline 2^0 \color{Blue}{3^3} & 2^1 3^3 & 2^2 3^3 & 2^3 3^3 \\ \hline 2^0 \color{Blue}{3^4} & 2^1 3^5 & 2^23^4 & 2^3 3^4 \\ \hline \end{array}$$
Make sure you understand why the divisors can all be listed in this way (via prime factorization).
Homework.
$$\begin{array}{|c|c|c|c|}\hline \color{Red}{2^0} \color{Blue}{3^0} & \color{Red}{2^1} 3^0 & \color{Red}{2^2}3^0 & \color{Red}{2^3} 3^0 & \phantom{--} \\ \hline 2^0 \color{Blue}{3^1} & 2^1 3^1 & 2^23^1 & 2^3 3^1 \\ \hline 2^0 \color{Blue}{3^2} & 2^13^2 & 2^23^2 & 2^3 3^2 \\ \hline 2^0 \color{Blue}{3^3} & 2^1 3^3 & 2^2 3^3 & 2^3 3^3 \\ \hline 2^0 \color{Blue}{3^4} & 2^1 3^5 & 2^23^4 & 2^3 3^4 \\ \hline \phantom{r} \\ \hline \end{array}$$