The factors of the number 39,031 are: 1, 23, 1697, 39031.
If you add them up, you will get the total of 40,752.