The factors of the number 40,787 are: 1, 40787.
If you add them up, you will get the total of 40,788. Now subtract 40,787 to get 1