The factors of the number 335,947 are: 1, 31, 10837, 335947.
If you add them up, you will get the total of 346,816.