C9-12 Flashcards

1
Q

what formula is used for the check digit x10 (sub)

A

1x1 +2x2… +9x9 + 10x10 ≡ 0 (mod 11)
(where it is x, not multiplications and the latter numbers are subs)
or equivalently:
x10 ≡ 1x1 + 2x2… 8x8 + 9x9 (modd 11)

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

what formula is used for the check digit x13 (sub) E {0, 1, 2..9}

A

x1 + 3x2 + x3 + 3x4 + .. 3x12 + x13 ≡ 0 (mod 10)

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

What are the four blocks an EAN-13 bar code consists of?

A

the number system, the manufacturer code, the product code and the check digit.

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

what digits represent the bank number if the card number begins with 51

A

the second and third

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

what digits represent the bank number if the card number begins with 52

A

second, third and fourth

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

what digits represent the bank number if the card number begins with 53

A

second, third, fourth and fifth

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

what digits represent the bank number if the card number begins with 54 or 55

A

digits from second place to the sixth place

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

what do the digits after the bank number up to the 15th digit represent?

A

they form the account number of the card

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

what does the 16th digit of the bank number represent

A

it is the check digit

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

what is the formula for affine ciphers

A

y ≡ mx + s (mod n)

where using numerical-alphabet n=26

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

If x ≡ r (mod m)

A

then we call r a residue of x modulo m.

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

When is a set of integers {r1…rs} called a complete residue system modulo m

A

if for each integer n there is an i, 1 less than or equal to i which is less than or equal to s such that n ≡ ri (mod m)

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

When is a set of integers {r1…rs} called a reduced residue system modulo m

A

if gcd (ri, m) = 1 for each 1 less than or equal to i less than or equal to s

for each integer n relatively prime to m there is an i, 1 less than or equal to i which is less than or equal to s such that n ≡ ri (mod m)

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

for each positive integer m, what is ϕ(m)

A

ϕ(m) is the number of positive integers between 1 and m inclusive which are relatively prime to m

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

when is ϕ(m) = m true?

A

when m is 1 and this is the only solution

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

when is ϕ(p) = p-1

A

for any prime p: all positive integers less than p are relatively prime to p

17
Q

if p and q are two distinct primes, what is ϕ(pq)

A

=ϕ(p) ϕ(q) = (p-1) (q-1)

18
Q

m is a positive integer such that gcd(a,m)=1

a^(ϕ(m)) ≡ ?

A

≡ 1 (mod m)

19
Q

for any prime p and any integer a such that a does not divide into p:
a^(p-1) ≡ ?

A

≡ 1 (mod p)