The factors of the number 505,887 are: 1, 3, 168629, 505887.
If you add them up, you will get the total of 674,520.