Chapter 1: Q21E (page 49)
How many integers modulo have inverses?
Short Answer
The number of integers coprime to are 1210
Chapter 1: Q21E (page 49)
How many integers modulo have inverses?
The number of integers coprime to are 1210
All the tools & learning materials you need for study success - in one app.
Get started for freeStarting from the definition of (namely, that divides ), justify the substitution rule ,and also the corresponding rule for multiplication.
1.36. Square roots. In this problem, we'll see that it is easy to compute square roots modulo a prime pwith .
(a) Suppose . Show that is an integer.
(b) We say x is a square root of a modulo p if . Show that if and if a has a square root modulo p, then is such a square root.
Wilson's theorem says that a numberis prime if and only if
.
(a) If is prime, then we know every number is invertible modulo . Which of thesenumbers is their own inverse?
(b) By pairing up multiplicative inverses, show thatrole="math" localid="1658725109805" for prime p.
(c) Show that if N is not prime, then .(Hint: Consider
(d) Unlike Fermat's Little Theorem, Wilson's theorem is an if-and-only-if condition for primality. Why can't we immediately base a primality test on this rule?
Give a polynomial-time algorithm for computing, given a,b,c, and prime p.
Digital signatures, continued.Consider the signature scheme of Exercise .
(a) Signing involves decryption, and is therefore risky. Show that if Bob agrees to sign anything he is asked to, Eve can take advantage of this and decrypt any message sent by Alice to Bob.
(b) Suppose that Bob is more careful, and refuses to sign messages if their signatures look suspiciously like text. (We assume that a randomly chosen messagethat is, a random number in the range is very unlikely to look like text.) Describe a way in which Eve can nevertheless still decrypt messages from Alice to Bob, by getting Bob to sign messages whose signatures look random.
What do you think about this solution?
We value your feedback to improve our textbook solutions.