April 2024
Intermediate to advanced
432 pages
16h 41m
English
A system of arithmetic for integers, which deals with remainders only, is known as Modular Arithmetic.
We have learnt Euclid’s division algorithm in previous classes. It states that:
Given two positive integers X and Y such that X > Y and Y ≠ 0 then
Where, X = Dividend
Y = Divisor
Q = Quotient
R = Remainder, 0 ≤ R < Y
Given two integers X and Y; X > Y and Y ≠ 0
where 0 ≤ R < Y
Then there exist two unique integers Q and R such that the same expression can be written as:
Where mod (modulo) gives the remainder after X is divided by