The factors of the number 501,587 are: 1, 97, 5171, 501587.
If you add them up, you will get the total of 506,856.