[incomplete: must add examples and more discussion] Most programming languages include a “remainder” or “modulo” function, and also an integer division (“quotient”) function. Given two integers and , let’s call the results of these functions and respectively. For positive and , it is clear what and should be: is the largest integer such that , […]