The factors of the number 123,789 are: 1, 3, 41263, 123789.
If you add them up, you will get the total of 165,056.