The factors of the number 256 are: 1, 2, 4, 8, 16, 32, 64, 128, 256.
If you add them up, you will get the total of 511.