The factors of the number 506,797 are: 1, 506797.
If you add them up, you will get the total of 506,798.