Review for Final Exam - MAT 330 Elementary Number Theory 1. Prime numbers: factorization, sequence of prime numbers, Erathostene’s sieve, sketch of Euclid’s proof that there are infinitely many prime numbers. 2. Ring of integers modulo n: a. Congruences modulo n, complete set of residues, arithmetic operations and properties; b. Chinese Reminder Theorem and associated isomorphism (homomorphism of rings) c. Solving linear equations modulo n d. Euler’s phi-function, relatively prime elements e. Fermat’s Little Theorem and Euler’s Theorem f. Multiplicative and completely multiplicative functions; examples: phi-function & powers g. How to solve ax=1 mod n; extended Euclidian Algorithm and representation ax+by=g h. Primality Test: n>1 is prime iff for all a<>0, a^(p-1)=1 mod n (behaves like one: satisfies the statement from Fermat’s Little Theorem) i. Structure of (Zp*,.): it is a cyclic Abelian group; generators: primitive roots j. Solving polynomial equations over Zn (direct methods: guess & quadratic formula) 3. Public-key cryptography: a. Cryptography using a secret key (translating a phrase into a number, encoding/decoding using a secret key / trap-door function) b. Diffie-Hellman key exchange c. Discrete log problem d. RSA cryptosystem (general description) 4. Quadratic reciprocity a. Existence of square-roots: quadratic residues vs. quadratic non-residues b. Legendre symbol (def. and properties: group homomorphism) and Euler’s criterion c. Quadratic reciprocity for odd primes: L(p/q)=(-1)^e(p)e(q) L(q/p), e(p)=(p-1)/2; using it to reduce the numbers when determining Legendre symbol. d. Solving quadratic equations; square-root formula for p=-1 mod 4: sqrt(a)=a^[(p+1)/4] (Note: it is the case of inert primes: not splitting in Z[i]). 5. Continued Fractions a. Def., convergence and their value, as a limit if infinite continued fractions b. Representation of rational numbers as finite CF c. Fact: quadratic irrationals have periodic CFs d. Using convergents of quadratic irrationals to find the fundamental solution of Pell’s equation 6. Sums of Two Squares a. Gaussian integers, complex conjugation, algebraic norm N(z)=z z* b. For n=p prime, sum of two squares <-> splitting the prime c. N can be written as a sum of squares if its odd power prime factors split as Gaussian integers (p=1 mod 4). 7. Elliptic Curves: a. equation, type of graph over R, C, Zp; determining the points of E(GF(p)) for given a & b; the graphical construction for the sum of two points under the group law b. Elliptic Curve Cryptography: main difference compared with DH & RSA; ElGamal Cryptosystem (analog of DH with Encode(Msg)=Msg+Key (group law in some EC(Zp)); EC discrete log problem. c. Elliptic Curves over Q: facts about rank & torsion. d. Congruent number problem and its relation with Elliptic Curves (at level of explanation).