The factors of the number 19,871 are: 1, 31, 641, 19871.
If you add them up, you will get the total of 20,544.