The factors of the number 511,671 are: 1, 3, 170557, 511671.
If you add them up, you will get the total of 682,232.