The factors of the number 40,019 are: 1, 7, 5717, 40019.
If you add them up, you will get the total of 45,744.