Modular Arithmetic Flashcards

1
Q

the range of a mod n

A

0 to n-1

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

5 mod 11

A

5

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

17 mod 11

A

6

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

11 mod 11

A

0

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

-12 mod 11

A

10

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

≈ denotes ___ in modulo arithmetic

A

congruence

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

refers to numbers that have the same modular value

A

congruence

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

Note that congruent numbers differ by multiples of…

A

the modulus

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

For large values, we can use ___ to simplify modular computations.

A

modulo reduction

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

( ( a mod n ) + ( b mod n ) ) mod n =

A

( a + b ) mod n

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

( 12 + 8 ) mod 5 =

A

( 12 + 8 ) mod 5 = ( ( 12 mod 5 ) + ( 8 mod 5 ) ) mod 5 = ( 2 + 3 ) mod 5 = 5 mod 5 = 0

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

( 12 * 8 ) mod 5 =

A

( 12 * 8 ) mod 5 = ( ( 12 mod 5 ) * ( 8 mod 5 ) ) mod 5 = ( 2 * 3 ) mod 5 = 6 mod 5 = 1

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

2^6 mod 5 =

A

2^6 mod 5 = ( ( 2^2 mod 5 ) * ( 2^4 mod 5 ) ) mod 5 = ( 4 mod 5 ) * ( 16 mod 5 ) = (4*1) mod 5 = 4

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

3^7 mod 5 =

A

2

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

if x and y are mod inverses, x and y must be…

A

less than the modulus

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

Not all values less than a particular modulus have…

A

inverses

17
Q

the inverse of 7 mod 10

A

3

18
Q

x and y are mod inverses mod n if x and y are less than n and…

A

x*y mod n = 1