The factors of the number 40,331 are: 1, 31, 1301, 40331.
If you add them up, you will get the total of 41,664.