Modular Arithmetic Flashcards

(5 cards)

1
Q

What is congruence?

A

A and B have the same remainder.

3/2 r1
5/2 r1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does this symbol ≡ mean?

A

congruent/congruence

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Perform the calculation for 325 x 114 (mod 41).

A

Step 1: 37050/41 = 903.6
As we’ve proved it’s not an integer we’ll know there’s a remainder

2: 903 x 41 = 37023
times the integer number by the mod number given ‘41’

3: 37050 - 37023 = 27
*this gives our answer *

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Perform the calculation (43-18) mod 7

A

1: 25 mod 7 so would be 25/7 = 3.57…
2: 3 x 7 = 21
3: 25 -21
= 4

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How would you work out multiplicative inverse for 4 mod 7?

A

4 can’t be divided by 7 so simply x 4 until 7 can go into that number.

1x 4 = 4
2x 4 = 8

So 2 would be the multiplicative inverse.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly