The factors of the number 29,791 are: 1, 31, 961, 29791.
If you add them up, you will get the total of 30,784.