EduFarming
Your list · 0हिं

Type at least two letters. Press Esc to close.

↑↓ navigate↵ openTAB cycle filter

Modulo Arithmetic & Congruence · Question 17 of 97

Question 17

MediumOriginal question

What is (−50) mod 7(-50) \bmod 7?

Options for question 17

Show the answer and explanation
CorrectNot quiteAnswer C

Correct answer: C

Explanation

  1. Divide by 7 and keep the remainder, which must be one of 0,1,…,60, 1, \dots, 6.

  2. −50=7×(−8)+6-50 = 7 \times (-8) + 6, so the answer is 6.

Worth noting

1 is 50 mod 750 \bmod 7; for −50-50 the remainder is 7−1=67 - 1 = 6.

Concept
The mod of a negative number
Typical time
90 s
Your time
—
The rule this testsThe modulo operation
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.