The remainder refers to the undivided part of the dividend in integer division, and the range of the remainder is an integer between 0 and divisor, which is a mathematical term. For example, if 27 is divided by 6, the quotient is 4 and the remainder is 3.
If a number is divided by another number, if it is smaller than another number, the quotient is 0 and the remainder is itself. For example: 1 divided by 2, the quotient is 0, and the remainder is1; When 2 is divided by 3, the quotient is 0 and the remainder is 2.
In the division of integers, there are only two situations: divisible and non-divisible. When it is not divisible, a remainder is generated. The remainder operation: a mod b = c(b is not 0) means that the remainder obtained by dividing the integer a by the integer b is c, for example, 7 ÷ 3 = 2 1.