Question DSA-MATH-0033
EasyWhich identity is used to keep sums small in modular arithmetic?
- A.
(a + b) mod m = a × b
- B.
(a + b) mod m = a + b + m
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Math and Number Theory question
Which identity is used to keep sums small in modular arithmetic?
(a + b) mod m = a × b
(a + b) mod m = a + b + m
Sign up free to see the answer and a step-by-step explanation.
(a + b) mod m = m − a − b
(a + b) mod m = ((a mod m) + (b mod m)) mod m