The factors of the number 866,791 are: 1, 31, 27961, 866791.
If you add them up, you will get the total of 894,784.