The factors of the number 340,682 are: 1, 2, 170341, 340682.
If you add them up, you will get the total of 511,026.