When a number is expressed as a product of numbers, the remainder is the product of remainders.
Lets say : \(N = a * b * c\)
Then \(R (\frac{N}{D})\) = \(R (\frac{a}{D}) * R (\frac{b}{D}) * R (\frac{c}{D})\)
where : \(R (\frac{N}{D})\) represents remainder N leaves when divided by D and so on.
Eg : Lets say 500 is expressed as the product of 3 numbers i.e 500 = 5*10*10 , and we are looking for the remainder when divided by 3.
\(R (\frac{500}{3}) = 2\)
\(R (\frac{5}{3}) = 2\)
\(R (\frac{10}{3}) = 1\)
\(R (\frac{10}{3}) = 1\)
We can clearly see that : \(R = R_1 * R_2 * R_3\)
Also when a number is expressed as the sum of numbers, the remainder is the sum of individual remainders:
If \(N = a + b + c\), then
\(R (\frac{N}{D})\) = \(R (\frac{a}{D}) + R (\frac{b}{D}) + R (\frac{c}{D})\)
Eg : Let 100 be expressed as the sum of numbers i.e 100 = 25 + 25 + 50
\(R (\frac{100}{3}) = 2\)
\(R (\frac{25}{3}) = 1\)
\(R (\frac{25}{3}) = 1\)
\(R (\frac{50}{3}) = 2\)
In this case the sum of remainders is equal to 4. Since we are looking for remainder when divided by 3, remainder of 4 means remainder of 1.
Cheers
Hope this helps .