HW 5
HW 5
Paridhi Latawa
April 2021
Abstract
1
k1 ac + k2 bc = c
Since a divides bc (given), a|bc and a divides k, ac and a|k2 bc, so k|c
Problem 10: Show that a zero divisor in Zn does not have a multiplicative inverse
a ∗ b = 0, a and b are zero divisors
Assume (a ∗ b)−1 exists
(a ∗ b)−1 ∗ (ab) = 0, since a ∗ b = 0
Which is a contradiction since if multiplicative inverse exists, then (a∗b)−1 ∗(ab) =
1, but here it’s 0
So,
(ab)−1 does not exist
Problem 11: Find φ(11). What is φ(p) for a prime number p?
φ(11) = 10 as we can have 1, 2, 3, 4, 5, 6, 7, 8, 9, 10.
φ(p) = p − 1
Problem 12:
Order of:
4=3
5=6
7=3
8=2
Others are
1, 2, 4, 5, 7, 8
Problem 14: Prove part a of the above theorem.
For a prime p, and a positive integer r, φ(pr ) = pr − pr−1 = pr−1 (p − 1)
The gcd(q, pr )can by multiples of p - eitherp0 , p1 , p2, ..., pr
If gcd(q, pr ) doesn’t equal 1, then q is a multiple of p
All the multiples of p are less than or equal to the multiples of pr - 1p, 2p, 3p, ...,
pr−1 p, which means total pr−1 multiples
The total multiples are pr
2
So the other multiples with gcd = 1 are pr − pr−1
So, φ(pr ) = pr − pr−1 = pr−1 (p − 1)
Question 18:
Deciphertext - [78537025780917214308351108661157,6192349888138720544404835244]
3
(x - 1) = 0 (mod p)
Simplifying these equations, we get x = - 1 or x = 1, which proves the statement.
Problem 9: Suppose x ≡ 2 (mod 7) and x ≡ 3 (mod 10). What is x congruent to
mod 70?
We basically have to find values of x (multiples) that can fit both the congruences
given.
The properties of the desired values are that when multipled by 7, the ones digit
should have a value of 1, such that when 2 is added to the value (satisfying the first
congruency), it will have a ones digit value of 3 (satisfying the second congruency).
Possible values that x can be congruent to mod 70 include 23, 163, 233, 303.
Problem 12: Divide 210203 by 101. What is the remainder?
Basically this question is asking what we get when computing 210203 (mod 101)
It should be noted that 101 is a prime number.
From Fermat’s theorem, we know that 21 00 ≡ 1 (mod 101)
So, we can write
210203 ≡ (2100 )102 (23 ) ≡ 11 02(23 ) ≡ 8 (mod 101)
Problem 13: Find the last 2 digits of 123562
The last two digits can be found by taking mod 100.
Problem 14: a) Evaluate 77 (mod 4)
b) Use part a to find the last digit of 777 , noting that abc = a( bc ).
Fining the last digit is mod 10.
This can be written in the equation form of 77 = 3 + 4k.
Euler’s theorem tells us that φ(10) = 4
So the above function can be broken into
777 = (74 )k (73 ) = 1k ∗ 73 = 343 = 3 (mod 10)
Problem 16:
a) Let p = 7, 13, or 19. Show that a1728 ≡ 1 (mod p) for all a with pa.
ap − 1 ≡ 1 (mod p) if p is not divisible by a.
4
We can input the values of p given into the above equation
a7−1 ≡ 1(mod 7)
a6 ≡ 1 (mod 7)
a1728 = (a6 )288
1188 = 1 (mod 7)
a13−1 ≡ 1(mod 13)
a12 ≡ 1(mod 13)
a1728 = a12144 = 1144 (mod 13)
a19−1 ≡ 1(mod 19)
a18 ≡ 1(mod 19)
a1728 = (a18 )96 = 196 = 1(mod 19)
b)
p=7
a1729 = a1728 ∗ a
a1728 = 1 (mod p)
a mod p = a
Pages 192 - 3: 1. The ciphertext 5859 was obtained from the RSA algorithm using
n = 11413 and e = 7467. Using the factorization 11413 = 101 * 113, find the
plaintext.
φ(n) = (p − 1)(q − 1) = (101 − 1)(113 − 1) = (100)(112) = 11200
From section 6.5, we can get that 7467−1 mod 11200 = 3.
We can then take
58593 = 1415 (mod 11413) as we are taking mod n
So, the plaintext is the word 1415