The factors of the number 5,017 are: 1, 29, 173, 5017.
If you add them up, you will get the total of 5,220.