Docsity

Prime Number - Mathematics - Exam, Exams of Mathematics

Toggle sidebar
bg1
Mathematics 312, Section 101. Final Exam
December 17, 2010. Instructor: Z. Reichstein.
This is a closed book exam. You can use one 8.5โ€ ร—11โ€ note sheet. No other materials or
calculators are allowed. In order to receive credit for a problem you need to show enough
work to justify your answer.
Name (Please print):
Student number:
Problem |Score || Problem |Score
โˆ’โˆ’โˆ’โˆ’ โˆ’ โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’ || โˆ’โˆ’โˆ’โˆ’ โˆ’ โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’
| || |
| || |
1| || 5|
| || |
| || |
โˆ’โˆ’โˆ’โˆ’ โˆ’ โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’ || โˆ’โˆ’โˆ’โˆ’ โˆ’ โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’
| || |
| || |
2| || 6|
| || |
| || |
โˆ’โˆ’โˆ’โˆ’ โˆ’ โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’ || โˆ’โˆ’โˆ’โˆ’ โˆ’ โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’
| || |
| || |
3| || 7|
| || |
| || |
โˆ’โˆ’โˆ’โˆ’ โˆ’ โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’ || โˆ’โˆ’โˆ’โˆ’ โˆ’ โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’
| || |
| || |
4| || 8|
| || |
| || |
โˆ’โˆ’โˆ’โˆ’ โˆ’ โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’ || โˆ’โˆ’โˆ’โˆ’ โˆ’ โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’โˆ’
TOTAL
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Prime Number - Mathematics - Exam and more Exams Mathematics in PDF only on Docsity!

Mathematics 312, Section 101. Final Exam

December 17, 2010. Instructor: Z. Reichstein.

This is a closed book exam. You can use one 8.5โ€ ร— 11โ€ note sheet. No other materials or calculators are allowed. In order to receive credit for a problem you need to show enough work to justify your answer.

Name (Please print):

Student number:

Problem | Score || Problem | Score โˆ’ โˆ’ โˆ’โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’โˆ’ || โˆ’ โˆ’ โˆ’โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’โˆ’ | || | | || | 1 | || 5 | | || | | || | โˆ’ โˆ’ โˆ’โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’โˆ’ || โˆ’ โˆ’ โˆ’โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ | || | | || | 2 | || 6 | | || | | || | โˆ’ โˆ’ โˆ’โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’โˆ’ || โˆ’ โˆ’ โˆ’โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’โˆ’ | || | | || | 3 | || 7 | | || | | || | โˆ’ โˆ’ โˆ’โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’โˆ’ || โˆ’ โˆ’ โˆ’โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’โˆ’ | || | | || | 4 | || 8 | | || | | || | โˆ’ โˆ’ โˆ’โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’โˆ’ || โˆ’ โˆ’ โˆ’โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’ โˆ’โˆ’

TOTAL

Problem 1 (7 marks). Let n be an integer. Show that there does not exist a prime number p โ‰ฅ 2 which divides both 8n + 3 and 5n + 2.

Problem 3 (7 marks). Find all three-digit combinations that can occur as the last three digits of a^100 , where a ranges over the integers. Give a simple criterion for predicting which of these possibilities occurs for a given a, without computing a^100. Prove that your criterion is correct.

Hint: Investigate a^100 modulo 8 and modulo 125 separately, then use the Chinese Re- mainder Theorem.

Problem 4 (6 marks). Suppose a positive integer n has 77 positive divisors (1 and n count among them). How many of these divisors can be primes? Explain your answer.

Problem 6 (6 marks). Recall that an affine cryptosystem, with encryption key KE = (26, a, b) and decryption key KD = (26, c, d) works as follows. Each letter is assigned a numerical value, in alphabetical order: A 7 โ†’ 0, B 7 โ†’ 1, ..., Z 7 โ†’ 25. These numbers are then viewed modulo 26; they are encrypted by the formula

x โˆ’โ†’ y โ‰ก ax + b (mod 26)

and decrypted by the formula

y โˆ’โ†’ x โ‰ก cy + d (mod 26).

It is known that the most frequently occurring letter in the English language is E (with numerical value 4) and the second most frequently occurring letter is T (with numerical value 19). Suppose these letters are encoded as F (numerical value 5) and G (numerical value 6), respectively.

(a) Find the encryption key KE. (b) Find the decryption key KD.

Problem 7 (6 marks). Suppose the public key for an RSA cryptosystem is (n, e) = (85, 7) and the secret key is (85, d). Show that this cryptosystem is not secure by finding d.

Remarks: Recall that a message x is encoded by x โˆ’โ†’ xe^ (mod n) and a received message y is decoded by y โˆ’โ†’ yd^ (mod n). To make this cryptosystem secure, one needs to use a much larger n.