Board Thread:Fun and Games/@comment-39272804-20190714232519/@comment-39272804-20190715024442

4

You just described an integer overflow, when the last digit gets cut off and the number goes back to zero.