Madam, your champs were fast asleep while you were in distress. Please accept my apologies.
See, any number N can be uniquely factorised into its prime factors as
N = x1p x2q x3r ....
Any factor of N can now be constituted as x
1p1 x
2q1 x
3r1 .... where p
1
p, q
1
q, r
1
r
Another way is to say, that every factor of N is a term in the following expression:
(1+x1+x12+...+x1p) (1+x2+x22+...+x2q) (1+x3+x32+...+x3r)....
Since every factor of N gets listed out, this expression is also the sum of all the factors of N, which is what is shown in your text book.
This can be simplified easily using GP summation formula as