The factors of the number 840,317 are: 1, 31, 27107, 840317.
If you add them up, you will get the total of 867,456.