The factors of the number 3,171 are: 1, 3, 7, 21, 151, 453, 1057, 3171.
If you add them up, you will get the total of 4,864.