The factors of the number 505,171 are: 1, 181, 2791, 505171.
If you add them up, you will get the total of 508,144.