The factors of the number 509,511 are: 1, 3, 169837, 509511.
If you add them up, you will get the total of 679,352.