The difference between the predecessor and successor of a number is
2
Successor is obtained by adding 1 to the number. And predecessor is obtained by subtracting 1 from the number, so the difference between the predecessor and successor is 1 + 1 = 2.