The factors of the number 338,771 are: 1, 277, 1223, 338771.
If you add them up, you will get the total of 340,272.