The factors of the number 589 are: 1, 19, 31, 589.
If you add them up, you will get the total of 640. Now subtract 589 to get 51