The factors of the number 340,778 are: 1, 2, 170389, 340778.
If you add them up, you will get the total of 511,170.