Next Prev Table of Contents
Give the remainder of dividing the display number by the next input number.