The factors of the number 50,791 are: 1, 13, 3907, 50791.
If you add them up, you will get the total of 54,712.