MATH342 Practice Exam

Similar documents
Math 4400/6400 Homework #8 solutions. 1. Let P be an odd integer (not necessarily prime). Show that modulo 2,

x 2 a mod m. has a solution. Theorem 13.2 (Euler s Criterion). Let p be an odd prime. The congruence x 2 1 mod p,

Jacobi symbols and application to primality

Math 261 Exam 2. November 7, The use of notes and books is NOT allowed.

MATH 3240Q Introduction to Number Theory Homework 7

Practice Final Solutions

Practice Final Solutions

QUADRATIC RECIPROCITY

QUADRATIC RECIPROCITY

MATH 361: NUMBER THEORY EIGHTH LECTURE

Algebraic number theory LTCC Solutions to Problem Sheet 2

CERIAS Tech Report The period of the Bell numbers modulo a prime by Peter Montgomery, Sangil Nahm, Samuel Wagstaff Jr Center for Education

Introduction to Arithmetic Geometry Fall 2013 Lecture #10 10/8/2013

Mersenne and Fermat Numbers

A CONCRETE EXAMPLE OF PRIME BEHAVIOR IN QUADRATIC FIELDS. 1. Abstract

The Arm Prime Factors Decomposition

MATH 361: NUMBER THEORY THIRD LECTURE

RECIPROCITY LAWS JEREMY BOOHER

1 Integers and the Euclidean algorithm

Maths 4 Number Theory Notes 2012 Chris Smyth, University of Edinburgh ed.ac.uk

Chapter 3. Number Theory. Part of G12ALN. Contents

MATH 361: NUMBER THEORY ELEVENTH LECTURE

PartII Number Theory

Quadratic Reciprocity

3 Properties of Dedekind domains

Algebraic Number Theory

The Euler Phi Function

LECTURE 10: JACOBI SYMBOL

MA3H1 Topics in Number Theory. Samir Siksek

Class Field Theory. Peter Stevenhagen. 1. Class Field Theory for Q

Math 104B: Number Theory II (Winter 2012)

MATH 371 Class notes/outline October 15, 2013

GAUSSIAN INTEGERS HUNG HO

We collect some results that might be covered in a first course in algebraic number theory.

Pythagorean triples and sums of squares

DIRICHLET S THEOREM ON PRIMES IN ARITHMETIC PROGRESSIONS. 1. Introduction

Introductory Number Theory

A Curious Property of the Decimal Expansion of Reciprocals of Primes

Primes - Problem Sheet 5 - Solutions

MATH 371 Class notes/outline September 24, 2013

Math 5330 Spring Notes Prime Numbers

PRIME NUMBERS YANKI LEKILI

Quadratic Residues, Quadratic Reciprocity. 2 4 So we may as well start with x 2 a mod p. p 1 1 mod p a 2 ±1 mod p

MATH 250: THE DISTRIBUTION OF PRIMES. ζ(s) = n s,

(Workshop on Harmonic Analysis on symmetric spaces I.S.I. Bangalore : 9th July 2004) B.Sury

THE THEORY OF NUMBERS IN DEDEKIND RINGS

SQUARES IN Z/NZ. q = ( 1) (p 1)(q 1)

The Hasse Minkowski Theorem Lee Dicker University of Minnesota, REU Summer 2001

School of Mathematics

Number Theory Naoki Sato

When do Fibonacci invertible classes modulo M form a subgroup?

By Evan Chen OTIS, Internal Use

Frobenius Elements, the Chebotarev Density Theorem, and Reciprocity

.4. Congruences. We say that a is congruent to b modulo N i.e. a b mod N i N divides a b or equivalently i a%n = b%n. So a is congruent modulo N to an

ERRATA AND SUPPLEMENTARY MATERIAL FOR A FRIENDLY INTRODUCTION TO NUMBER THEORY FOURTH EDITION

2 Asymptotic density and Dirichlet density

Factor Rings and their decompositions in the Eisenstein integers Ring Z [ω]

MAS 4203 Number Theory. M. Yotov

MATH 152 NOTES MOOR XU NOTES FROM A COURSE BY KANNAN SOUNDARARAJAN

2 Asymptotic density and Dirichlet density

16 The Quadratic Reciprocity Law

QUADRATIC RESIDUES AND DIFFERENCE SETS

NUMBER SYSTEMS. Number theory is the study of the integers. We denote the set of integers by Z:

Explicit Bounds for the Sum of Reciprocals of Pseudoprimes and Carmichael Numbers

01. Simplest example phenomena

MA257: INTRODUCTION TO NUMBER THEORY LECTURE NOTES 2018

MATH 242: Algebraic number theory

ANALYTIC NUMBER THEORY AND DIRICHLET S THEOREM

6 Binary Quadratic forms

Public Key Cryptosystems RSA

Idempotent Elements in Quaternion Rings over Z p

DISCRIMINANTS IN TOWERS

A LLT-like test for proving the primality of Fermat numbers.

192 VOLUME 55, NUMBER 5

Modeling Chebyshev s Bias in the Gaussian Primes as a Random Walk

On the Diophantine Equation x 2 = 4q n 4q m + 9

University of Bristol - Explore Bristol Research. Peer reviewed version. Link to published version (if available): 10.

t s (p). An Introduction

YALE UNIVERSITY DEPARTMENT OF COMPUTER SCIENCE

#A47 INTEGERS 15 (2015) QUADRATIC DIOPHANTINE EQUATIONS WITH INFINITELY MANY SOLUTIONS IN POSITIVE INTEGERS

Legendre polynomials and Jacobsthal sums

Elliptic Curves Spring 2015 Problem Set #1 Due: 02/13/2015

THE LEAST PRIME QUADRATIC NONRESIDUE IN A PRESCRIBED RESIDUE CLASS MOD 4

On the Multiplicative Order of a n Modulo n

MATH 210A, FALL 2017 HW 5 SOLUTIONS WRITTEN BY DAN DORE

#A64 INTEGERS 18 (2018) APPLYING MODULAR ARITHMETIC TO DIOPHANTINE EQUATIONS

arxiv: v2 [math.nt] 11 Jun 2016

Prime Reciprocal Digit Frequencies and the Euler Zeta Function

Part II. Number Theory. Year

AN INTRODUCTION TO GAUSS S NUMBER THEORY. Andrew Granville

Elementary Number Theory

Cryptography Assignment 3

Almost All Palindromes Are Composite

DIVISIBILITY CRITERIA FOR CLASS NUMBERS OF IMAGINARY QUADRATIC FIELDS

Aliquot sums of Fibonacci numbers

Primes of the form ±a 2 ± qb 2

Number Theory. Lectured by V. Neale Michaelmas Term 2011

PROBLEM SET 5 SOLUTIONS. Solution. We prove that the given congruence equation has no solutions. Suppose for contradiction that. (x 2) 2 1 (mod 7).

DIRICHLET S THEOREM ABOUT PRIMES IN ARITHMETIC PROGRESSIONS. Contents. 1. Dirichlet s theorem on arithmetic progressions

Mobius Functions, Legendre Symbols, and Discriminants

Transcription:

MATH342 Practice Exam This exam is intended to be in a similar style to the examination in May/June 2012. It is not imlied that all questions on the real examination will follow the content of the ractice questions very closely. You should exect the unexected, esecially at the ends of exam questions, and think things out as best you can. 1. For x and y Z, and n Z + define x y mod n in terms of division by n. Prove that if gcd(n, m) = 1 then mx my mod n x y mod n. Find all integer solutions of the following. In some cases there may be no solutions. a) 3x 6 mod 9. b) 3x 5 mod 6. c) x 2 + x + 1 0 mod 5. d) x 2 1 mod 7. 3x 1 mod 7 e) Solve the simultaneous equations x 5 mod 6. 3x 2 mod 5 [20 marks] 1

2. If and q are ositive rimes with < q and n is comosite (that is, not rime) for all integers n with < n < q, then the set G(, q) = {n Z + : < n < q} is called a rime ga and its length is q. a) By considering the integers n! + k for 2 k n show that there is a rime ga of length n for each n Z +. Find the least ossible rime such that G(, q) is a rime ga of length 4. b) State the Fundamental Theorem of Arithmetic. Use it to show that, if n is comosite, then n is divisible by a rime with n. Use this to show that 89 and 97 are rime. c) Define the rime number counting function π(x). State the Prime Number Theorem. d) Let k (k 1) be an enumeration of all the ositive rimes with 1 = 2 and k < k+1 for all k 1 Prove that if n is sufficiently large, then there is a rime ga G( k, k+1 ) with k n and k+1 k > 1 ln n. 2 Hint: Let m be the largest integer with m n. Consider m k=1 ( k+1 k ) and aly the Prime Number Theorem to π(n). 3. State Fermat s Little Theorem. (i) Use it to rove that 2 99 + 3 98 is divisible by 17. (ii) Find all the ossible orders of elements of the grou of units G 17. Find all rimitive elements. Give an examle of an element of each ossible order. (iii) Let m and n Z + with n 2, and let nm 1 be divisible by 17. Show n 1 that either m is even; or m 0 mod 17 and n 1 mod 17. Find all ossible values of n in the cases when m is even but not divisible by 4, or is divisible by 4 but not divisible by 8. 2

4. Define Euler s φ function. Prove that if is a ositive rime and a Z + then φ( a ) = a 1 ( 1). Also comute the sum a (using Euler s notation) of the divisors of a. Now write down the formulas for φ(n) and n, for any n Z +, with n 2, in terms of the rime decomosition of n, where n = m i=1 k i i for distinct rimes i and integers k i 1. Comute φ(2016) and φ(11!). Find all integers n such that φ(n) = 10. 5. Let n 1 2 and n 2 2 be corime integers. Show that, for integers x and y, x y mod n 1 n 2 (x y mod n 1 x y mod n 2 ). Give an examle to show that this is not true in general if n 1 and n 2 are not corime. Recall that n Z + is a seudorime to base a if a n 1 1 mod n, and n is a Carmichael number if n is comosite and is a seudorime to base a for all a in the grou G n of units mod n. Let n = 2 11 1 = 2047. Verify that 2047 is a seudorime to base 2. Exlain why any rime dividing 2 11 1 must be 1 mod 11 and find the rime factorisation of 2047. Give Korselt s equivalent definition of a Carmichael number. Use it to verify that 2821 is a Carmichael number. Now let n be any integer 2. Show that is a subgrou of G n. {a : a n 1 1 mod n} Now let n = 35. Identify all a mod 35 such that 35 is a seudorime to base a. 3

6. In this question let Z[i] be the ring of Gaussian integers, that is Z[i] = {s + it : s, t Z} a) Show that Z[i] is a Euclidean domain with Euclidean valuation v(s + it) = s 2 + t 2. Hint: Show that if z C then there is q Z[i] such that z q 2 1 2. If a and b Z[i] with b 0, aly this with z = a/b. b) Show that if n, s, t Z and s + it divides n, then s it divides n and s 2 + t 2 divides n 2 in Z. Show also, using the fact that comlex conjugation is multilicative or otherwise, that if n 1 Z + and n 2 Z + are both the sums of the squares of two integers, then the same is true for n 1 n 2. c) Using the fact that Z[i] is a unique factorisation domain, show that if s and t are both non-zero integers and s + it is rime in Z[i], then s 2 + t 2 is rime in Z. Deduce that if s + it divides n in Z[i] then s 2 + t 2 divides n in Z. d) Exlain why any integer n which is a sum of two non-zero integer squares is the roduct of rimes with this roerty and a square of an integer. The square of the integer can be just 1 but there must be at least one rime in the roduct. e) Show that there are infinitely many rimes which are the sum of two squares. Hint: Suose there are just finitely many such rimes q i, 1 i n. Then let N 1 = n i=1 q i and N = N 2 1 + 1. Consider any rime which divides N. 4

7. Define the Legendre symbol for any ositive rime and any integer q corime to. Show that if is any odd rime then q ( 1)/2 mod, stating any theory that you use. In articular, you may assume the existence of a rimitive element in G. Deduce that F : q mod : G {±1} is a grou homomorhism. ( ) 1 State the value of for any odd rime. State Gauss Law of quadratic recirocity for for any distinct ositive rimes q and, including the case q = 2. Deduce from these laws that for any odd rime ( ) { 2 1 if = 1 or 3 mod 8 = 1 if = 1 or 3 mod 8. Comute ( ) 5 19 and ( ) 46. 89 5