The factors of the number 340,246 are: 1, 2, 170123, 340246.
If you add them up, you will get the total of 510,372.