The factors of the number 38,719 are: 1, 31, 1249, 38719.
If you add them up, you will get the total of 40,000.