next up previous
Next: About this document ...

Homework Assignment 2
Due Wednesday October 9

William Stein


Date: Math 124 $ \qquad\qquad\qquad$ HARVARD UNIVERSITY $ \qquad\qquad\qquad$ Fall 2002


Instructions: Please work with others, and acknowledge who you work with in your write up. Some of these problems will require a computer; others look like a computer might be helpful, but in fact it isn't. If you use a computer, please describe how you use the computer (you are not required to use MAGMA).

  1. (3 points) What is the largest order of an element of $ (\mathbb{Z}/(2^{13466917}-1))^\times $? You may assume that the Mersenne number $ 2^{13466917}-1$ is prime.

  2. (4 points) You and Nikita wish to agree on a secret key using the Diffie-Hellman protocol. Nikita announces that $ p=3793$ and $ g=7$. Nikita secretely chooses a number $ n<p$ and tells you that $ g^n\equiv 454\pmod{p}$. You choose the random number $ m=1208$. What is the secret key?

  3. (5 point) You see Michael and Nikita agree on a secret key using the Diffie-Hellman key exchange protocol. Michael and Nikita choose $ p=5003$ and $ g=2$. Nikita chooses a random number $ n$ and tells Michael that $ g^n\equiv 3003\pmod{p}$, and Michael chooses a random number $ m$ and tells Nikita that $ g^m\equiv 2683\pmod{p}$. Crack their code by brute force: What is the secret key that Nikita and Michael agree upon? What is $ n$? What is $ m$?

  4. (9 points) Let $ p$ be any prime.
    1. Prove that there is a primitive root modulo $ p^2$. [Hint: Write down an element of $ (\mathbb{Z}/p^2)^\times $ that looks like it might have order $ p$, and prove that it does. Recall that if $ a, b$ have orders $ n, m$, with $ \gcd(n,m)=1$, then $ ab$ has order $ nm$.]
    2. Suppose now that $ p$ is odd. Prove that for any $ n$, there is a primitive root modulo $ p^n$.
    3. Why did your proof in part (b) not work when $ p=2$?

  5. (8 points) Prove that there are infinitely many primes of the form $ 4x+1$ as follows. Suppose $ p_1,\ldots,p_n$ are all primes of the form $ 4x+1$. Let

    $\displaystyle a = 4(p_1p_2\cdots p_n)^2 + 1.
$

    Suppose $ p$ is a prime divisor of $ a$.
    1. Show that $ p\neq p_i$ for any $ i$ and that $ p$ is odd.
    2. Prove that the equation $ x^2+1=0$ has a solution in $ \mathbb{Z}/p$.
    3. Deduce that $ p\equiv 1\pmod{4}$.
    4. Conclude that there are infinitely many primes of the form $ 4x+1$.

  6. (6 points) In class I asserted that the Riemann Hypothesis is equivalent to the assertion that for all $ x\geq 2.01$,

    $\displaystyle \vert\pi(x) -$   Li$\displaystyle (x)\vert \leq \sqrt{x}$Log$\displaystyle (x).
$

    1. Give numerical evidence for (or against?) this assertion. (I mean the asserted inequality, not the assertion that the inequality is equivalent to the Riemann Hypothesis.)
    2. What goes wrong for $ 0<x<2.01$?




next up previous
Next: About this document ...
William A Stein 2002-10-02