Would not 2/5 equal .4 and not 2?
When we deal with a standard division, 2/5 = 0.4
However, division with a remainder is quite different. In this case we deal with non-negative integers only!
The dividend, quotient and remainder are non-negative integers. The divisor is a positive integer.
If we divide N by D with a remainder, then the result will be two integers: Q (quotient) and R (remainder). These integers must satisfy the following equality:
N = Q × D + R
besides, R < D. (So R can be 0, 1, 2 ... D - 1).
In other words R is a "leftover".
For example, when 9 is divided by 3, the remainder is 0. When 9 is divided by 5, the remainder is 4. When 9 is divided by 2, the remainder is 1.
So when 2 is divided by 5, the remainder is 2.