Let
N=24* 57.
What is the sum of all N's positive factors?
Generalize.
The required sum of all the positive factors of N is 3,027,036.
In general, if N = P^S * Q^R:
Then, the required sum of N's positive factors is given by:
(P^(S+1) - 1)*(Q^(R+1) - 1)
S(n) = -------------------------------------------
(P-1)(Q-1)