The factors of the number 334 are: 1, 2, 167, 334.
If you add them up, you will get the total of 504. Now subtract 334 to get 170