EduFarming
Your list · 0हिं

Type at least two letters. Press Esc to close.

↑↓ navigate↵ openTAB cycle filter

Modulo Arithmetic & Congruence · Question 27 of 97

Question 27

MediumOriginal question

What is (17−30) mod 8(17 - 30) \bmod 8?

Options for question 27

Show the answer and explanation
CorrectNot quiteAnswer C

Correct answer: C

Explanation

  1. 17−30=−1317 - 30 = -13, and −13=8×(−2)+3-13 = 8 \times (-2) + 3.

  2. So (17−30) mod 8=3(17 - 30) \bmod 8 = 3. Or reduce first: (1−6) mod 8=(−5) mod 8=3(1 - 6) \bmod 8 = (-5) \bmod 8 = 3.

Worth noting

5 is 13 mod 813 \bmod 8: the minus sign was dropped.

Concept
Modular subtraction
Typical time
90 s
Your time
—
The rule this testsModular addition, subtraction and multiplication
Practise this chapter →

Ten questions from Modulo Arithmetic & Congruence, at your own pace.

Practise this chapter →

Ten questions from Modulo Arithmetic & Congruence, at your own pace.