The factors of the number 39,731 are: 1, 67, 593, 39731.
If you add them up, you will get the total of 40,392.