Docsity

MA 341, Exams of Number Theory

Toggle sidebar
bg1
MA 341 - Number Theory
Sample Exam Two Problems
NOTE: This is a selection of previous exam questions on topics we have covered. However
questions on our exam may or may not look similar to these. My recommendation for
studying for the exam is to review the main concepts that we have discussed and the best
way to do this is to make sure that you understand the ideas behind the homework that
has been assigned. Then, and only then, if you want additional practice questions you can
try these. It would be a mistake however to ONLY study these questions for the exam
1) 22820 ≡1 (mod 2821) and 32820 ≡1 (mod 2821).
a) Can you conclude from the above calculations that 2821 is composite? Why or why
not?
b) Can you conclude from the above calculations that 2821 is prime? Why or why not?
c) Is 2821 a Carmichael number? Explain why or why not.
2)
a) How many primes psatisfy p≡497 (mod 502)? Explain your answer.
b) If you think your answer to a) is not zero, find one and explain why it is prime.
3) Give reasons for your answers to the following questions. You are allowed to use Dirich-
let’s Theorem on Primes in Arithmetic Progression.
a) How many primes are congruent to 3 (mod 72)?
b) How many primes are congruent to 9 (mod 72)?
c) How many primes are congruent to 25 (mod 72)?
4)
a) Show that there are infinitely many primes congruent to 5 (mod 6).
HINT: Suppose there are only finitely many. Consider N= 6M+ 5 with Mequal
to the product of all primes congruent to 5 (mod 6) starting with 11 (i.e. don’t include 5
in M). Show that at least one prime congruent to 5 (mod 6) must divide N.
b) What goes wrong if you try to use an expression of the form N= 6M+ 1 to show
there are infinitely many primes congruent to 1 (mod 6)?
5) Use the prime number theorem to answer the following questions.
a) Approximately how many prime numbers are there <1010?
b) If you choose an odd number at random <1010 what is the probability that it will be
prime ?
pf2

Partial preview of the text

Download MA 341 and more Exams Number Theory in PDF only on Docsity!

MA 341 - Number Theory Sample Exam Two Problems

NOTE: This is a selection of previous exam questions on topics we have covered. However questions on our exam may or may not look similar to these. My recommendation for studying for the exam is to review the main concepts that we have discussed and the best way to do this is to make sure that you understand the ideas behind the homework that has been assigned. Then, and only then, if you want additional practice questions you can try these. It would be a mistake however to ONLY study these questions for the exam

  1. 2^2820 ≡ 1 (mod 2821) and 3^2820 ≡ 1 (mod 2821). a) Can you conclude from the above calculations that 2821 is composite? Why or why not? b) Can you conclude from the above calculations that 2821 is prime? Why or why not? c) Is 2821 a Carmichael number? Explain why or why not.

a) How many primes p satisfy p ≡ 497 (mod 502)? Explain your answer. b) If you think your answer to a) is not zero, find one and explain why it is prime.

  1. Give reasons for your answers to the following questions. You are allowed to use Dirich- let’s Theorem on Primes in Arithmetic Progression. a) How many primes are congruent to 3 (mod 72)? b) How many primes are congruent to 9 (mod 72)? c) How many primes are congruent to 25 (mod 72)?

a) Show that there are infinitely many primes congruent to 5 (mod 6). HINT: Suppose there are only finitely many. Consider N = 6M + 5 with M equal to the product of all primes congruent to 5 (mod 6) starting with 11 (i.e. don’t include 5 in M ). Show that at least one prime congruent to 5 (mod 6) must divide N. b) What goes wrong if you try to use an expression of the form N = 6M + 1 to show there are infinitely many primes congruent to 1 (mod 6)?

  1. Use the prime number theorem to answer the following questions. a) Approximately how many prime numbers are there < 1010? b) If you choose an odd number at random < 1010 what is the probability that it will be prime?
  1. Alice wants to use RSA encryption and she chooses m = 71 · 79 and e = 7 as her public key (m, e). a) Calculate the value φ(m). b) She now needs to find her decryption key d so that

(ae)d^ ≡ a (mod m)

for any message a she is sent. (Assume the message is broken up into blocks so that the numbers representing each block are less than m). Can she do this? If she can find the value of d and if she can’t explain why not.

  1. After applying several tests on the integer n such as those based on Fermat’s Little Theorem and the Rabin-Miller Test tests based on square roots (mod n) you are unable to show n is a composite number and begin to suspect it is prime. Explain how you can show n is prime without trial division, i.e. without checking that every prime p, p <

n does not divide n. As a specific example you could consider n = 931241. Explain what you would need to do to show n is prime. You don’t have to do any calculation of powers (mod n), just explain what you would calculate, i.e. if you had access to the PowerMod command in Mathematica. Note: The prime factorization of 931240 is = 2^3 · 5 · 31 · 751.

  1. 1279 is prime and g = 710 is a primitive root (mod 1279). a) g^1339 ≡ 23 (mod 1279). Does x^614 ≡ 23 (mod 1279) have solutions? Why or why not? b) If there are no solutions find a value a, a 6 = b^2 for b ∈ Z such that x^614 ≡ a (mod 1279) has solutions. c) How many solutions are there to the congruence you gave in b)? d) Explain how you would find the solutions to your congruence in b) without testing values of x, 1 < x < 1279 until you find one.