The factors of the number 40,589 are: 1, 37, 1097, 40589.
If you add them up, you will get the total of 41,724.