The factors of the number 509,987 are: 1, 211, 2417, 509987.
If you add them up, you will get the total of 512,616.