The factors of the number 674 are: 1, 2, 337, 674.
If you add them up, you will get the total of 1,014. Now subtract 674 to get 340