The factors of 8 are 1, 2, 4, and 8. The factors that add up to 10 are 2 and 8.
31
factors of 30 that add to 17 are 2 and 15
-1005
167
1, 2, 3 and -2.
The factors of -504 are 2, 2, 2, 3, 3, 7 and -1. Then the factors that add to -3 are -24 and 21.
23
Factors of 250 that add up to 8 = 1 + 2 + 5
212
1012
1510