The factors of the number 797,871 are: 1, 3, 265957, 797871.
If you add them up, you will get the total of 1,063,832.