The factors of the number 508,017 are: 1, 3, 169339, 508017.
If you add them up, you will get the total of 677,360.