Summary Slides for MATH 342 June 25, 2018

Size: px
Start display at page:

Download "Summary Slides for MATH 342 June 25, 2018"

Transcription

1 Summary Slides for MATH 342 June 25, 2018 Summary slides based on Elementary Number Theory and its applications by Kenneth Rosen and The Theory of Numbers by Ivan Niven, Herbert Zuckerman, and Hugh Montgomery. 1

2 Recall the usual notation for the set of natural numbers, integers, rational numbers, real numbers, complex numbers N Z Q R C. Well Ordering Property. Every nonempty set of positive integers has a least element. Definition. A number r R is rational if r = p/q for some integers p, q, q 0. If r is not rational, then it is said to be irrational. Theorem. 2 is irrational. 2

3 Definition. Let x R. 1. We define [x] to be the greatest integer less than or equal to x, called the greatest integer in x. Note that [x] x < [x] We define {x} = x [x], called the fractional part of x. Note that 0 {x} < 1. 3

4 The Pigeonhole Principle. For k N, a function f : {1,..., k + 1} {1,..., k} is not one to one. Theorem. (Dirichlet s Approximation Theorem). If α R and n N, then there exists a, b Z with 1 b n such that bα a < n 1. 4

5 Definition. If a, b Z with a 0, we say that a divides b, written a b if there is a c Z such that b = ac. We also say in that case that a is a divisor or factor of b and b is a multiple of a. Theorem. If a, b, c Z, a b, b c, then a c. Theorem. If a, b, m, n Z, c a, c b, then c (ma + nb). Theorem. If a b, b 0, then b a. Theorem (The Division Algorithm). If a, b Z with b > 0, then there are unique integers q and r such that a = bq + r with 0 r < b. We call q the quotient, r the remainder, a the dividend, and b the divisor. 5

6 Definition. The greatest common divisor of two integers a and b, which are not both 0, is the largest integer that divides a and b, and is denoted by (a, b). Definition. The integers a and b are relatively prime if a and b have greatest common divisor (a, b) = 1. Theorem. Let a and b be integers with (a, b) = d. Then (a/d, b/d) = 1. Theorem. Let a, b, c Z. Then (a + cb, b) = (a, b). Definition. If a and b are integers, then a linear combination of a and b is a sum of the form ma + nb, where m, n Z. Theorem. The greatest common divisor of the integers a and b, not both 0, is the least positive integer that is a linear combination of a and b. 6

7 Corollary. If a and b are relatively prime integers, then there are integers m and n such that ma + nb = 1. Theorem. If a and b are integers, which are not both 0, then the set of linear combinations of a and b is a set of integer multiples of (a, b). Theorem. If a and b are integers, not both 0, then a positive integer d is the greatest common divisor of a and b if and only if d a and d b if c is an integer with c a and c b, then c d. 7

8 Definition. Let a 1,..., a n be integers, not all 0. The greatest common divisor of these integers is the largest integer that is a divisor of all of the integers in the set. The greatest common divisor of a 1,..., a n is denoted by (a 1,..., a n ). Lemma. If a 1,..., a n are integers, not all 0, then (a 1,..., a n 1, a n ) = (a 1,..., a n 2, (a n 1, a n )). Definition. We say that integers a 1,..., a n are mutually relatively prime if (a 1,..., a n ) = 1. These integers are called pairwise relatively prime if (a i, a j ) = 1 for i j. 8

9 Theorem (The Euclidean Algorithm). Let r 0 = a and r 1 = b be integers such that a b > 0. If the division algorithm is successively applied to obtain r i = r i+1 q i+1 + r i+2 with 0 < r i+2 < r i+1 for i = 0, 1, 2,..., n 1 and r n+1 = 0, then (a, b) = r n the last nonzero remainder. Lemma. If e and d are integers and e = dq + r, where q and r are integers, then (e, d) = (d, r). 9

10 Theorem. Let a and b be positive integers. Then (a, b) = x n a+y n b where x n and y n are the n-th terms of the sequences defined recursively by and x 0 = 1, y 0 = 0, x 1 = 0, y 1 = 1 x i = x i 2 q i 1 x i 1, y i = y i 2 q i 1 y i 1. 10

11 Finite simple continued fraction expansion of a rational number a/b. Set r 0 = a, r 1 = b and apply the Euclidean algorithm: r i = q i r i+1 + r i+2 where 0 < r i+2 < r i+1 for i = 0, 1,..., n 1, and r n+1 = 0. [Note change in indices: q i+2 is now q i and i starts at 0, not 1.] Each step in the Euclidean algorithm expresses: r i /r i+1 = q i + r i+2 /r i+1 = q i + r 1 i+1. r i+2 The finite simple continued fraction expansion of a/b is given by [q 0 ; q 1,..., q n 1 ]. For a real irrational number α, set α 0 = α, and for k 1, let a k = [α k ], and α k = a k + 1 α k+1 (or equivalently, α k+1 = 1 α k a k ). The infinite simple continued fraction expansion of α is given by [a 0 ; a 1, a 2,...]. 11

12 Definition. A prime is an integer greater than 1 that is divisible by no positive integers other than 1 and itself. Definition. An integer greater than 1 that is not prime is called composite. Lemma. Every integer greater than 1 is a finite product of primes. Theorem. There are infinitely many primes. Theorem. If n is a composite integer, then n has a prime factor not exceeding n. Sieve of Erathosthenes 12

13 Theorem (The Fundamental Theorem of Arithmetic). Every positive integer greater than 1 can be written uniquely as a product of primes, with the prime factors in the product written in nondecreasing order. Lemma. If a, b, c Z and (a, b) = 1 and a bc, then a c. Lemma. If p a 1... a n where p is a prime and a 1,..., a n Z, then p a i for some i. Lemma. If (a, m) = 1 and (b, m) = 1, then (ab, m) = 1. Definition. The least common multiple of two nonzero integers a and b is the smallest positive integer that is divisible by a and b, and is denoted by [a, b]. Theorem. If a and b are positive integers, then [a, b] = ab/(a, b). 13

14 Parity of an integer: An integer is odd if and only if it is of the form 2k + 1 for some k Z. An integer is even if and only if it is of the form 2k, for some k Z. 14

15 Theorem. Let α R be a root of a monic polynomial with coefficients in Z. Then α Z or α is irrational. Theorem. Let a and b be non-zero integers with d = (a, b). The equation ax + by = c has no integral solutions if d c. If d c, then there are infinitely many integral solutions. Moreover, if x = x 0, y = y 0 is a particular solution of the equation, then all solutions are given by x = x 0 + (b/d)n, y = y 0 (a/d)n. 15

16 Theorem. Let n 2. If a 1,..., a n are nonzero integers, then the equation a 1 x a n x n = c has an integral solution if and only if d = (a 1,..., a n ) divides c. Furthermore, when there is a solution, there are infinitely many solutions. Remark: Section 5.1 and 5.2 gives a general method for solving a system of linear diophantine equations in several variables. 16

17 Definition. Let m be a positive integer. If a and b are integers, we say that a is congruent to b modulo m if m (a b), and write a b (mod m). Theorem. If a and b are integers, then a b (mod m) if and only if there is an integer k such that a = b + km. Theorem. Let m N. Congruences modulo m satisfy the following properties. a a (mod m) a b (mod m) implies b a (mod m). a b (mod m), b c (mod m) implies a c (mod m). 17

18 Theorem. If a, b, c, m Z, m > 0, and a b (mod m) then a + c b + c (mod m) a c b c (mod m) ac bc (mod m). 18

19 Theorem. Let a, b, c, d, e, f, m Z, m > 0, (, m) = 1 where = ad bc. Then the system of congruences ax + by e (mod m) cd + dy f (mod m) has a unique solution modulo m. 19

20 Theorem. If a, b, c, m Z, m > 0, d = (c, m), and ac bc (mod m), then a b (mod m/d). Corollary. If a, b, c, m Z, m > 0, (c, m) = 1, and ac bc (mod m), then a b (mod m). Definition. A complete residue system modulo m is a set of integers such that every integer is congruent modulo m to exactly one integer in this set. Lemma. A set of m incongruent integers modulo m forms a complete set of residues modulo m. Theorem. If r 1,..., r m is a complete residue system modulo m, and if (a, m) = 1, then ar 1 + b, ar 2 + b,..., ar m + b is a complete system of residues modulo m for any integer b. Theorem. If a, b, k, m Z, k > 0, m > 0, and a b (mod m), then a k b k (mod m). 20

21 Theorem. If a b (mod m 1 ),..., a b (mod m k ), where a, b, m 1, m 2,..., m k Z then a b (mod [m 1, m 2,..., m k ]). Corollary. If a b (mod m 1 ),..., a b (mod m k ), where a and b are integers, and m 1,..., m k are pairwise relatively prime integers, then a b (mod m 1... m k ).

22 Theorem. Let a, b, m Z, m > 0 and (a, m) = d. If d b, then ax b (mod m) has no solutions. If d b, then ax b (mod m) has exactly d incongruent solutions modulo m. Corollary. If a and m are relatively prime integers with m > 0 and b an integer, then the linear congruence ax b (mod m) has a unique solution. Definition. Given an integer a with (a, m) = 1, a solution of ax 1 (mod m) is called an inverse of a modulo m. Theorem. Let p be prime. The positive integer a is its own inverse modulo p if and only if a 1 (mod p) or a 1 (mod p). 21

23 Digression into abstract algebra (not part of course material) A group G is a set with a binary composition law such that 1. For all a, b, c G, (ab)c = a(bc). 2. There is an element e G such that ae = ea = a for all a G. 3. For each a G, there is an b G such that ab = ba = e. The identity element e is unique. The inverse element b of a is unique, denoted a 1. 22

24 A group G is said to be commutative or abelian if xy = yx for all x, y G. Sometimes we denote compositions additively as the sum x + y when the group G is abelian. In that case, we denote the identity element as zero 0 and inverses as negatives x. A group G is said to be commutative or abelian if xy = yx for all x, y G. A field K is a non-empty set with two compositions laws, addition and multiplication such that 1. K is an abelian group under addition (0 is additive identity, negation is additive inverse)

25 2. 0x = x0 = 0 for all x K 3. K = K {0} is an abelian group under multiplication (1 is multiplicative identity, reciprocal is multiplicative inverse) 4. x(y + z) = xy + yz for all x, y, z K It is automatic that 0 1, (x + y)z = xz + yz for all x, y, z K, 1x = x = x1 for all x K. A ring R is a non-empty set with two compositions laws, addition and multiplication such that 1. R is an abelian group under addition 2. (xy)z = x(yz) for all x, y, z R

26 3. x(y + z) = xy + xz for all x, y, z R 4. (x + y)z = xz + yz for all x, y, z R The identity element of addition is denoted by zero 0. It follows that 0x = 0 = x0 for all x R. The properties for congruences imply: Z/mZ is a ring Z/pZ is a field for p prime Z/mZ under + is an abelian group (Z/mZ) under is an abelian group

27 Theorem (Wilson s Theorem). then (p 1)! 1 (mod p). If p is prime, Theorem. If n 2 is an integer such that (n 1)! 1 (mod n), then n is prime. Theorem (Fermat s Little Theorem). If p is prime and a is an integer with p a, then a p 1 1 (mod p). Theorem. If p is prime then a p a (mod p). Theorem. If p is prime and a is an integer such that p a, then a p 2 is an inverse of a modulo p. Corollary. If a and b are positive integers and p is prime with p a, then the solutions of the linear congruence ax b (mod p) are the integers x such that x = a p 2 b (mod p). 23

28 Definition. Let n be a positive integer. The Euler φ function φ(n) is defined to be the number of positive integers not exceeding n that are relatively prime to n. Definition. A reduced residue system modulo n is a set of φ(n) integers such that each element of the set is relatively prime to n, and no two different elements of the set are congruent modulo n. Theorem. If r 1,..., r φ(n) is a reduced residue system modulo n, and if a is a positive integer with (a, n) = 1, then the set ar 1,..., ar φ(n) is also a reduced residue system modulo n. Theorem (Euler s Theorem). If m is a positive integer and a is an integer with (a, m) = 1, then a φ(m) 1 (mod m). 24

29 Theorem (The Chinese Remainder Theorem). Let m 1,..., m r be pairwise relatively prime positive integers. Then the system of congruences x a 1 (mod m 1 ) x a 2 (mod m 2 ) x a r (mod m r ) has a unique solution modulo M = m 1... m r. 25

30 Theorem. Let b, m, n are positive integers such that b < m. Then the least positive residue of b N modulo m can be computed using bit operations. O((log 2 m) 2 log 2 N) 26

31 Definition. Let b be a positive integer. If n is a composite positive integer and b n 1 1 (mod n), then n is called a pseudoprime to the base b. Lemma. If d and n are positive integers such that d n, then 2 d 1 divides 2 n 1. Theorem. There are infinitely many pseudoprimes to the base 2. Definition. A composite number n that satisfies b n 1 1 (mod n) for all positive integers b with (b, n) = 1 is called a Carmichael number or absolute pseudoprime. Theorem. If n = q 1... q k where q j are distinct prime numbers that satisfy (q j 1) (n 1) for all j and k > 2, then n is a Carmichael number. 27

32 Primitive Factorization Methods 1. Trial division. 2. Fermat factorization method. 3. Pollard p 1 factorization method. (see Screencast 2: Primitive Factorization Methods) 28

33 Definition. An arithmetic function is a function that is defined for all positive integers. Definition. An arithmetic function f is called multiplicative if f(mn) = f(m)f(n) whenever m and n are relatively prime positive integers. It is called completely multiplicative if f(mn) = f(m)f(n) for all positive integers m and n. Theorem. If f is a multiplicative function and if n = p a pa s s is the prime power factorization of n, then f(n) = f(p a 1 1 )... f(pa s s ). Theorem. If p is prime, then φ(p) = p 1. Conversely, if p is a positive integer with φ(p) = p 1, then p is prime. Theorem. Let p be a prime and a a positive integer. Then φ(p a ) = p a p a 1. Theorem. Let m and n be relatively prime positive integers. Then φ(mn) = φ(m)φ(n). 29

34 Theorem. Let n = p a pa k k be the prime power factorization of the positive integer n. Then ) ) φ(n) = n (1 1p1... (1 1pk. Theorem. Let n be a positive integer greater than 2. Then φ(n) is even. Theorem. Let n be a positive integer. Then d n φ(d) = n. Definition. The sum of divisors function, denoted by σ, is defined by setting σ(n) equal to the sum of all positive divisors of n. Definition. The number of divisors function, denoted by τ, is defined by setting τ(n) equal to the number of positive divisors of n. 30

35 Theorem. If f is a multiplicative function, then the summatory function of f, namely F (n) = d n f(d) is also multiplicative. Corollary. The sum of divisors function σ and the number of divisors function τ are multiplicative functions. Lemma. Let p be prime and a a positive integer. Then and σ(p a ) = 1 + p + p p a = pa+1 1 p 1 τ(p a ) = a

36 Theorem. Let the positive integer n have prime factorization n = p a pa s s. Then and σ(n) = pa p pas+1 s 1 p s 1, τ(n) = (a 1 + 1)... (a s + 1). Definition. If n is a positive integer and σ(n) = 2n, then n is called a perfect number. Theorem. The positive integer n is an even perfect number if and only if n = 2 m 1 (2 m 1) and 2 m 1 is prime. Theorem. If m is a positive integer and 2 m 1 is prime, then m must be prime. Definition. If m is a positive integer, then M m = 2 m 1 is called the mth Mersenne number. If p is prime and M p = 2 p 1 is prime, then M p is called a Mersenne prime. 32

37 Theorem. If p is an odd prime, then any divisor of the Mersenne number M p = 2 p 1 is of the form 2kp + 1, where k is a positive integer.

38 Definition. A positive integer n is squarefree if n > 1 and there is no prime p such that p 2 n. The Möbius function µ(n) is de- Definition. fined by µ(n) = 1 if n = 1 ( 1) r if n = p 1... p r is squarefree 0 otherwise Lemma. Let m and n are relatively prime positive integers. Then if d is a positive divisor of mn, there is a unique pair of positive divisors d 1 of m and d 2 of n such that d = d 1 d 2. Conversely, if d 1 and d 2 are positive divisors of m and n, respectively, then d = d 1 d 2 is a positive divisor of mn. Theorem. The Möbius function µ(n) is a multiplicative function. Theorem. The summatory function of the Möbius function at the integer n, F (n) = d n µ(d) satisfies F (n) = 1 if n = 1 and F (n) = 0 if n >

39 Theorem (The Möbius Inversion Formula). Suppose that f is an arithmetic function and that F is the summatory function of f so that F (n) = d n f(d). Then for all positive integers n, f(n) = d n µ(d)f (n/d). Theorem. Let f be an arithmetic function with summatory function F. Then if F is a multiplicative, f is also multiplicative. 34

40 Definition. Let a and n be relatively prime integers. Then the least positive integer x such that a x 1 (mod n) is called the order of a modulo n, denoted ord n a. Theorem. If a and n are relatively prime integers with n > 0, then the positive integer x is a solution of the congruence a x 1 (mod n) if and only if ord n a x. Corollary. If a and n are relatively prime integers with n > 0, then ord n a φ(n). Theorem. If a and n are relatively prime integers with n > 0, then a i a j (mod n), where i and j are nonnegative integers, if and only if i j (mod ord n a). Definition. If r and n are relatively prime integers with n > 0 and if ord n r = φ(n), then r is a primitive root modulo n. 35

41 Theorem. If r and n are relatively prime positive integers and if r is a primitive root modulo n, then the integers r 1, r 2,..., r φ(n) form a reduced residue set modulo n. Theorem. If ord n a = t and if u is a positive integer, then ord n (a u ) = t/(t, u). Corollary. Let r be a primitive root modulo n, where n is an integer, n > 1. Then r u is a primitive root modulo n if and only if (u, φ(n)) = 1. Theorem. If the positive integer n has a primitive root, then it has a total of φ(φ(n)) incongruent primitive roots. 36

42 Theorem (Lagrange s Theorem). Let f Z[x] be a polynomial of degree n 1 with leading coefficient a n not divisible by p a prime. Then f has at most n incongruent roots modulo p. Theorem. Let p be prime and let d be a divisor of p 1. Then the polynomial x d 1 has exactly d incongruent roots modulo p. Lemma. Let p be a prime and let d be a positive divisor of p 1. Then the number of positive integers less than p of order d modulo p does not exceed φ(d). Theorem. Let p be a prime and let d be a positive divisor of p 1. Then the number of incongruent integers of order d modulo p is equal to φ(d). Corollary. Every prime has a primitive root. Artin s Conjecture. The integer a is a primitive root of infinitely many primes if a ±1 and a is not a perfect square. 37

43 Theorem. If p is an odd prime with primitive root r, then either r or r + p is a primitive root modulo p 2. Theorem. Let p be an odd prime. Then p k has a primitive root for all positive integers k. Moreover, if r is a primitive root modulo p 2, then r is a primitive root modulo p k for all positive integers k. Theorem. If a is an odd integer, and if k 3 is an integer, then a φ(2k )/2 = a 2k 2 1 (mod 2 k ). Theorem. If n is a positive integer that is not a prime power or twice a prime power, then n does not have a primitive root. Theorem. If p is an odd prime and t is a positive integer, then 2p t possesses a primitive 38

44 root. In fact, if r is a primitive root modulo p t, then if r is odd, it is also a primitive root modulo 2p t ; whereas if r is even, r + p t is a primitive root modulo 2p t. Theorem. The positive integer n > 1 possesses a primitive root if and only if n = 2, 4, p t, 2p t where p is an odd prime and t N.

45 Definition. Let m be a positive integer with primitive root r. If a is a positive integer with (a, m) = 1, then the unique integer x with 1 x φ(m) and r x a (mod m) is called the index or discrete logarithm of a to the base r modulo m, denote ind r a. Theorem. Let m be a positive integer with primitive root r and let a and b be integers relatively prime to m. Then ind r 1 = 0 (mod φ(m)) ind r ab ind r a + ind r b (mod φ(m)) ind r a k k ind r a (mod φ(m)). Theorem. Let m be a positive integer with a primitive root. If k is a positive integer and 39

46 a is an integer relatively prime to m, then the congruence x k a (mod m) has a solution if and only if a φ(m)/d 1 (mod m) where d = (k, φ(m)).

47 Theorem (Dirichlet s Theorem on Primes in Arithmetic Progressions). Suppose that a, b N are not divisible by the same prime. Then the arithmetic progression an+b, n = 1, 2, 3,... contains infinitely many primes. Definition. Let x R. Define π(x) to be the number of prime numbers x. Theorem (The Prime Number Theorem). The ratio of π(x) to x/ log x approaches 1 as x grows without bound. Corollary. Let p n denote the nth prime, when n N. Then p n n log n. Theorem. For any positive integer n, there are at least n consecutive composite positive integers. Theorem (Bertrand s Postulate) For every positive integer n > 1, there is a prime p such that n < p < 2n. 40

48 Theorem (Chebychev) Let a < a 0 = 1 3 log 2, b > b 0 = 3 2 a 0. Then there exists an x 0 such that for all x x 0. a x log x < π(x) < b x log x 41

49 The Twin Prime Conjecture. There are infinitely many pairs of primes p and p + 2. Goldbach s Conjecture. Every even positive integer greater than 2 is the sum of two primes. The n Conjecture. There are infinitely many primes of the form n 2 + 1, where n is a positive integer. 42

50 Definition. If m is a positive integer, we say that the integer a is a quadratic residue of m if (a, m) = 1 and the congruence x 2 a (mod m) has a solution. If (a, m) = 1 and the congruence x 2 a (mod m) has no solution, we say that a is a quadratic nonresidue of m. Lemma. Let p be an odd prime and a and integer not divisible by p. Then, the congruence x 2 a (mod p) has either no solutions or exactly two incongruent solutions modulo p. Theorem. If p is an odd prime, then there are exactly (p 1)/2 quadratic residues of p and (p 1)/2 quadratic nonresidues of p among the integers 1, 2,..., p 1. 43

51 Theorem. Let p be a prime and let r be a primitive root of p. If a is an integer not divisible by p, then a is a quadratic residue of p if ind r a is even and a is a quadratic nonresidue of p if ind r a is odd. Definition. Let p be an odd prime and a be an integer no divisible by p. The Legendre symbol ( ap ) is defined by ( ) a p = 1 if a is a quadratic residue of p 1 if a is a quadratic nonresidue of p Theorem (Euler s Criterion). Let p be an odd prime and let a be a positive integer not divisible by p. Then ( ) a p a (p 1)/2 (mod p). 44

52 Theorem. Let p be an odd prime and a and b be integers not divisible by p. Then if a b (mod p), then ( a p ) = ( bp ) ( a p ) ( bp ) = ( ab p ) ( ) a 2 p = 1 Theorem. If p is an odd prime, then ( 1 p ) = 1 if p 1 (mod 4) 1 if p 1 (mod 4). 45

53 Lemma (Gauss Lemma). Let p be an odd prime and a an integer with (a, p) = 1. If s is the number of least positive residues of the integers a, 2a, 3a,..., p 1 a that are greater than p/2, then ( a p ) = ( 1) s. 2 Theorem. If p is an odd prime, then ( 2 p ) = ( 1) (p2 1)/8. Theorem (The Law of Quadratic Reciprocity). Let p and q be distinct odd primes. Then ( ) ( ) p q q p = ( 1) p 1 q Lemma. If p is an odd prime and a is an odd integer not divisible by p, then ( a p ) = ( 1) T (a,p) where T (a, p) = (p 1)/2 j=1 [ja/p]. 46

54 Definition. Let n be an odd positive integer with prime factorization n = p t p t m and let a be an integer relatively prime to n. Then, the Jacobi symbol ( ) a n is defined by ( ) a n = ( a p 1 ) t1... ( ) tm a. p m Theorem. Let n be an odd positive integer and let a and b be integers relatively prime to n. Then if a b (mod n), then ( a n ) = ( bn ) ( ab n ) = ( an ) ( bn ) ( 1 n ) = ( 1) (n 1)/2 ( 2 n ) = ( 1) (n 2 1)/8. 47

55 Theorem (The Reciprocity Law for Jacobi Symbols). Let n and m be relatively prime odd positive integers. Then ( ) ( ) n mn m 1 m = ( 1) 2 n 1 2. Let R 0 = a and R 1 = b. Using the division algorithm and factoring out the highest power of two dividing the remainders, we obtain R 1 = R 2 q s 2R 3 R 2 = R 3 q s 3R 4... R n 2 = R n 1 q n s n 1 1, where s j is a nonnegative integer and R j is an odd positive integer less than R j 1 for j = 2, 3,..., n 1. 48

56 Theorem. Let a and b be positive integers with a > b. Then ( ) a b = ( 1) w R w = s Rn s 1 n R 1 1R R n 2 1R n Remark: see examples in class and textbook on how to calculate Jacobi symbols in practice. Corollary. Let a and b be relatively prime positive integers with a > b. Then the Jacobi symbol ( a b ) can be evaluated using O((log2 b) 3 ) bit operations. 49

57 Theorem. If p is a prime, not of the form 4k + 3, then there are integers x and y such that x 2 + y 2 = p. Theorem. Every solution to x 2 + y 2 = z 2 with x, y, z positive integers, (x, y, z) = 1, x odd, y even is given by x = m 2 n 2, y = 2mn, z = m 2 +n 2, where (m, n) = 1 and m n (mod 2). Theorem. The equation x 4 + y 4 = z 2 has no solutions in non-zero integers x, y, z. 50

58 Theorem. If m and n are both sums of two squares, then mn is also the sum of two squares. Theorem. If p is a prime, not of the form 4k + 3, then there are integers x and y such that x 2 + y 2 = p. Theorem. The positive integer n is the sum of two squares if and only if each prime factor of n of the form 4k + 3 occurs to an even power in the prime factorization of n. Theorem. The positive integer n is the sum of two coprime squares if and only if each prime factor of n is of the form 4k + 1 or is the prime 2 which occurs to at most a first power. Theorem. If m and n are positive integers that are each the sum of four squares, then mn is also the some of four squares. 51

59 Theorem. Let p be a prime. Then p is the sum of the squares of four integers. Theorem. Every positive integer is the sum of the squares of four integers.

60 For material on ad hoc methods for solving diophantine equations and Hasse s theorem, see the textbook. Theorem (Liouville). Let α R be a root of an irreducible polynomial in Z[X] of degree d > 1. Then there exists a constant C = C(α) > 0 such that α p/q > C(α)/q d for all rational numbers p/q. 52

61 Theorem. The real number α = i= i! is transcendental over Q.

Part II. Number Theory. Year

Part II. Number Theory. Year Part II Year 2017 2016 2015 2014 2013 2012 2011 2010 2009 2008 2007 2006 2005 2017 Paper 3, Section I 1G 70 Explain what is meant by an Euler pseudoprime and a strong pseudoprime. Show that 65 is an Euler

More information

Elementary Number Theory Review. Franz Luef

Elementary Number Theory Review. Franz Luef Elementary Number Theory Review Principle of Induction Principle of Induction Suppose we have a sequence of mathematical statements P(1), P(2),... such that (a) P(1) is true. (b) If P(k) is true, then

More information

Math 314 Course Notes: Brief description

Math 314 Course Notes: Brief description Brief description These are notes for Math 34, an introductory course in elementary number theory Students are advised to go through all sections in detail and attempt all problems These notes will be

More information

Introduction to Number Theory

Introduction to Number Theory INTRODUCTION Definition: Natural Numbers, Integers Natural numbers: N={0,1,, }. Integers: Z={0,±1,±, }. Definition: Divisor If a Z can be writeen as a=bc where b, c Z, then we say a is divisible by b or,

More information

SOLUTIONS TO PROBLEM SET 1. Section = 2 3, 1. n n + 1. k(k + 1) k=1 k(k + 1) + 1 (n + 1)(n + 2) n + 2,

SOLUTIONS TO PROBLEM SET 1. Section = 2 3, 1. n n + 1. k(k + 1) k=1 k(k + 1) + 1 (n + 1)(n + 2) n + 2, SOLUTIONS TO PROBLEM SET 1 Section 1.3 Exercise 4. We see that 1 1 2 = 1 2, 1 1 2 + 1 2 3 = 2 3, 1 1 2 + 1 2 3 + 1 3 4 = 3 4, and is reasonable to conjecture n k=1 We will prove this formula by induction.

More information

Elementary Number Theory MARUCO. Summer, 2018

Elementary Number Theory MARUCO. Summer, 2018 Elementary Number Theory MARUCO Summer, 2018 Problem Set #0 axiom, theorem, proof, Z, N. Axioms Make a list of axioms for the integers. Does your list adequately describe them? Can you make this list as

More information

Number Theory and Algebra: A Brief Introduction

Number Theory and Algebra: A Brief Introduction Number Theory and Algebra: A Brief Introduction Indian Statistical Institute Kolkata May 15, 2017 Elementary Number Theory: Modular Arithmetic Definition Let n be a positive integer and a and b two integers.

More information

Mathematics for Cryptography

Mathematics for Cryptography Mathematics for Cryptography Douglas R. Stinson David R. Cheriton School of Computer Science University of Waterloo Waterloo, Ontario, N2L 3G1, Canada March 15, 2016 1 Groups and Modular Arithmetic 1.1

More information

Public-key Cryptography: Theory and Practice

Public-key Cryptography: Theory and Practice Public-key Cryptography Theory and Practice Department of Computer Science and Engineering Indian Institute of Technology Kharagpur Chapter 2: Mathematical Concepts Divisibility Congruence Quadratic Residues

More information

Theory of Numbers Problems

Theory of Numbers Problems Theory of Numbers Problems Antonios-Alexandros Robotis Robotis October 2018 1 First Set 1. Find values of x and y so that 71x 50y = 1. 2. Prove that if n is odd, then n 2 1 is divisible by 8. 3. Define

More information

= 1 2x. x 2 a ) 0 (mod p n ), (x 2 + 2a + a2. x a ) 2

= 1 2x. x 2 a ) 0 (mod p n ), (x 2 + 2a + a2. x a ) 2 8. p-adic numbers 8.1. Motivation: Solving x 2 a (mod p n ). Take an odd prime p, and ( an) integer a coprime to p. Then, as we know, x 2 a (mod p) has a solution x Z iff = 1. In this case we can suppose

More information

Discrete Logarithms. Let s begin by recalling the definitions and a theorem. Let m be a given modulus. Then the finite set

Discrete Logarithms. Let s begin by recalling the definitions and a theorem. Let m be a given modulus. Then the finite set Discrete Logarithms Let s begin by recalling the definitions and a theorem. Let m be a given modulus. Then the finite set Z/mZ = {[0], [1],..., [m 1]} = {0, 1,..., m 1} of residue classes modulo m is called

More information

LECTURE 4: CHINESE REMAINDER THEOREM AND MULTIPLICATIVE FUNCTIONS

LECTURE 4: CHINESE REMAINDER THEOREM AND MULTIPLICATIVE FUNCTIONS LECTURE 4: CHINESE REMAINDER THEOREM AND MULTIPLICATIVE FUNCTIONS 1. The Chinese Remainder Theorem We now seek to analyse the solubility of congruences by reinterpreting their solutions modulo a composite

More information

Math 118: Advanced Number Theory. Samit Dasgupta and Gary Kirby

Math 118: Advanced Number Theory. Samit Dasgupta and Gary Kirby Math 8: Advanced Number Theory Samit Dasgupta and Gary Kirby April, 05 Contents Basics of Number Theory. The Fundamental Theorem of Arithmetic......................... The Euclidean Algorithm and Unique

More information

a = mq + r where 0 r m 1.

a = mq + r where 0 r m 1. 8. Euler ϕ-function We have already seen that Z m, the set of equivalence classes of the integers modulo m, is naturally a ring. Now we will start to derive some interesting consequences in number theory.

More information

Contest Number Theory

Contest Number Theory Contest Number Theory Andre Kessler December 7, 2008 Introduction Number theory is one of the core subject areas of mathematics. It can be somewhat loosely defined as the study of the integers. Unfortunately,

More information

The primitive root theorem

The primitive root theorem The primitive root theorem Mar Steinberger First recall that if R is a ring, then a R is a unit if there exists b R with ab = ba = 1. The collection of all units in R is denoted R and forms a group under

More information

A Guide to Arithmetic

A Guide to Arithmetic A Guide to Arithmetic Robin Chapman August 5, 1994 These notes give a very brief resumé of my number theory course. Proofs and examples are omitted. Any suggestions for improvements will be gratefully

More information

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

NUMBER SYSTEMS. Number theory is the study of the integers. We denote the set of integers by Z: NUMBER SYSTEMS Number theory is the study of the integers. We denote the set of integers by Z: Z = {..., 3, 2, 1, 0, 1, 2, 3,... }. The integers have two operations defined on them, addition and multiplication,

More information

Congruences and Residue Class Rings

Congruences and Residue Class Rings Congruences and Residue Class Rings (Chapter 2 of J. A. Buchmann, Introduction to Cryptography, 2nd Ed., 2004) Shoichi Hirose Faculty of Engineering, University of Fukui S. Hirose (U. Fukui) Congruences

More information

CHAPTER 6. Prime Numbers. Definition and Fundamental Results

CHAPTER 6. Prime Numbers. Definition and Fundamental Results CHAPTER 6 Prime Numbers Part VI of PJE. Definition and Fundamental Results 6.1. Definition. (PJE definition 23.1.1) An integer p is prime if p > 1 and the only positive divisors of p are 1 and p. If n

More information

3 The fundamentals: Algorithms, the integers, and matrices

3 The fundamentals: Algorithms, the integers, and matrices 3 The fundamentals: Algorithms, the integers, and matrices 3.4 The integers and division This section introduces the basics of number theory number theory is the part of mathematics involving integers

More information

4 PRIMITIVE ROOTS Order and Primitive Roots The Index Existence of primitive roots for prime modulus...

4 PRIMITIVE ROOTS Order and Primitive Roots The Index Existence of primitive roots for prime modulus... PREFACE These notes have been prepared by Dr Mike Canfell (with minor changes and extensions by Dr Gerd Schmalz) for use by the external students in the unit PMTH 338 Number Theory. This booklet covers

More information

2 More on Congruences

2 More on Congruences 2 More on Congruences 2.1 Fermat s Theorem and Euler s Theorem definition 2.1 Let m be a positive integer. A set S = {x 0,x 1,,x m 1 x i Z} is called a complete residue system if x i x j (mod m) whenever

More information

Solutions to Problem Set 3 - Fall 2008 Due Tuesday, Sep. 30 at 1:00

Solutions to Problem Set 3 - Fall 2008 Due Tuesday, Sep. 30 at 1:00 Solutions to 18.781 Problem Set 3 - Fall 2008 Due Tuesday, Sep. 30 at 1:00 1. (Niven 2.3.3) Solve the congruences x 1 (mod 4), x 0 (mod 3), x 5 (mod 7). First we note that 4, 3, and 7 are pairwise relatively

More information

Number Theory Marathon. Mario Ynocente Castro, National University of Engineering, Peru

Number Theory Marathon. Mario Ynocente Castro, National University of Engineering, Peru Number Theory Marathon Mario Ynocente Castro, National University of Engineering, Peru 1 2 Chapter 1 Problems 1. (IMO 1975) Let f(n) denote the sum of the digits of n. Find f(f(f(4444 4444 ))). 2. Prove

More information

ENTRY NUMBER THEORY. [ENTRY NUMBER THEORY] Authors: Oliver Knill: 2003 Literature: Hua, introduction to number theory.

ENTRY NUMBER THEORY. [ENTRY NUMBER THEORY] Authors: Oliver Knill: 2003 Literature: Hua, introduction to number theory. ENTRY NUMBER THEORY [ENTRY NUMBER THEORY] Authors: Oliver Knill: 2003 Literature: Hua, introduction to number theory ABC conjecture [ABC conjecture] If a,b,c are positive integers, let N(a,b,c) be the

More information

MATH 4400 SOLUTIONS TO SOME EXERCISES. 1. Chapter 1

MATH 4400 SOLUTIONS TO SOME EXERCISES. 1. Chapter 1 MATH 4400 SOLUTIONS TO SOME EXERCISES 1.1.3. If a b and b c show that a c. 1. Chapter 1 Solution: a b means that b = na and b c that c = mb. Substituting b = na gives c = (mn)a, that is, a c. 1.2.1. Find

More information

4 Number Theory and Cryptography

4 Number Theory and Cryptography 4 Number Theory and Cryptography 4.1 Divisibility and Modular Arithmetic This section introduces the basics of number theory number theory is the part of mathematics involving integers and their properties.

More information

ASSIGNMENT Use mathematical induction to show that the sum of the cubes of three consecutive non-negative integers is divisible by 9.

ASSIGNMENT Use mathematical induction to show that the sum of the cubes of three consecutive non-negative integers is divisible by 9. ASSIGNMENT 1 1. Use mathematical induction to show that the sum of the cubes of three consecutive non-negative integers is divisible by 9. 2. (i) If d a and d b, prove that d (a + b). (ii) More generally,

More information

Chapter 9 Mathematics of Cryptography Part III: Primes and Related Congruence Equations

Chapter 9 Mathematics of Cryptography Part III: Primes and Related Congruence Equations Chapter 9 Mathematics of Cryptography Part III: Primes and Related Congruence Equations Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 9.1 Chapter 9 Objectives

More information

The Chinese Remainder Theorem

The Chinese Remainder Theorem Chapter 5 The Chinese Remainder Theorem 5.1 Coprime moduli Theorem 5.1. Suppose m, n N, and gcd(m, n) = 1. Given any remainders r mod m and s mod n we can find N such that N r mod m and N s mod n. Moreover,

More information

Number Theory Marathon. Mario Ynocente Castro, National University of Engineering, Peru

Number Theory Marathon. Mario Ynocente Castro, National University of Engineering, Peru Number Theory Marathon Mario Ynocente Castro, National University of Engineering, Peru 1 2 Chapter 1 Problems 1. (IMO 1975) Let f(n) denote the sum of the digits of n. Find f(f(f(4444 4444 ))). 2. Prove

More information

Know the Well-ordering principle: Any set of positive integers which has at least one element contains a smallest element.

Know the Well-ordering principle: Any set of positive integers which has at least one element contains a smallest element. The first exam will be on Monday, June 8, 202. The syllabus will be sections. and.2 in Lax, and the number theory handout found on the class web site, plus the handout on the method of successive squaring

More information

Divisibility. 1.1 Foundations

Divisibility. 1.1 Foundations 1 Divisibility 1.1 Foundations The set 1, 2, 3,...of all natural numbers will be denoted by N. There is no need to enter here into philosophical questions concerning the existence of N. It will suffice

More information

Elementary Properties of Cyclotomic Polynomials

Elementary Properties of Cyclotomic Polynomials Elementary Properties of Cyclotomic Polynomials Yimin Ge Abstract Elementary properties of cyclotomic polynomials is a topic that has become very popular in Olympiad mathematics. The purpose of this article

More information

1. multiplication is commutative and associative;

1. multiplication is commutative and associative; Chapter 4 The Arithmetic of Z In this chapter, we start by introducing the concept of congruences; these are used in our proof (going back to Gauss 1 ) that every integer has a unique prime factorization.

More information

An integer p is prime if p > 1 and p has exactly two positive divisors, 1 and p.

An integer p is prime if p > 1 and p has exactly two positive divisors, 1 and p. Chapter 6 Prime Numbers Part VI of PJE. Definition and Fundamental Results Definition. (PJE definition 23.1.1) An integer p is prime if p > 1 and p has exactly two positive divisors, 1 and p. If n > 1

More information

Basic Algorithms in Number Theory

Basic Algorithms in Number Theory Basic Algorithms in Number Theory Algorithmic Complexity... 1 Basic Algorithms in Number Theory Francesco Pappalardi Discrete Logs, Modular Square Roots & Euclidean Algorithm. July 20 th 2010 Basic Algorithms

More information

MATH 537 Class Notes

MATH 537 Class Notes MATH 537 Class Notes Ed Belk Fall, 014 1 Week One 1.1 Lecture One Instructor: Greg Martin, Office Math 1 Text: Niven, Zuckerman & Montgomery Conventions: N will denote the set of positive integers, and

More information

Course 2BA1: Trinity 2006 Section 9: Introduction to Number Theory and Cryptography

Course 2BA1: Trinity 2006 Section 9: Introduction to Number Theory and Cryptography Course 2BA1: Trinity 2006 Section 9: Introduction to Number Theory and Cryptography David R. Wilkins Copyright c David R. Wilkins 2006 Contents 9 Introduction to Number Theory and Cryptography 1 9.1 Subgroups

More information

Objective Type Questions

Objective Type Questions DISTANCE EDUCATION, UNIVERSITY OF CALICUT NUMBER THEORY AND LINEARALGEBRA Objective Type Questions Shyama M.P. Assistant Professor Department of Mathematics Malabar Christian College, Calicut 7/3/2014

More information

Introduction to Information Security

Introduction to Information Security Introduction to Information Security Lecture 5: Number Theory 007. 6. Prof. Byoungcheon Lee sultan (at) joongbu. ac. kr Information and Communications University Contents 1. Number Theory Divisibility

More information

Lecture notes: Algorithms for integers, polynomials (Thorsten Theobald)

Lecture notes: Algorithms for integers, polynomials (Thorsten Theobald) Lecture notes: Algorithms for integers, polynomials (Thorsten Theobald) 1 Euclid s Algorithm Euclid s Algorithm for computing the greatest common divisor belongs to the oldest known computing procedures

More information

Number Theory. Zachary Friggstad. Programming Club Meeting

Number Theory. Zachary Friggstad. Programming Club Meeting Number Theory Zachary Friggstad Programming Club Meeting Outline Factoring Sieve Multiplicative Functions Greatest Common Divisors Applications Chinese Remainder Theorem Throughout, problems to try are

More information

Mathematics 4: Number Theory Problem Sheet 3. Workshop 26 Oct 2012

Mathematics 4: Number Theory Problem Sheet 3. Workshop 26 Oct 2012 Mathematics 4: Number Theory Problem Sheet 3 Workshop 26 Oct 2012 The aim of this workshop is to show that Carmichael numbers are squarefree and have at least 3 distinct prime factors (1) (Warm-up question)

More information

ECEN 5022 Cryptography

ECEN 5022 Cryptography Elementary Algebra and Number Theory University of Colorado Spring 2008 Divisibility, Primes Definition. N denotes the set {1, 2, 3,...} of natural numbers and Z denotes the set of integers {..., 2, 1,

More information

Contents. Preface to the First Edition. Preface to the Second Edition. Preface to the Third Edition

Contents. Preface to the First Edition. Preface to the Second Edition. Preface to the Third Edition Contents Preface to the First Edition Preface to the Second Edition Preface to the Third Edition i iii iv Glossary of Symbols A. Prime Numbers 3 A1. Prime values of quadratic functions. 7 A2. Primes connected

More information

Elementary Number Theory and Cryptography, 2014

Elementary Number Theory and Cryptography, 2014 Elementary Number Theory and Cryptography, 2014 1 Basic Properties of the Integers Z and the rationals Q. Notation. By Z we denote the set of integer numbers and by Q we denote the set of rational numbers.

More information

Basic elements of number theory

Basic elements of number theory Cryptography Basic elements of number theory Marius Zimand 1 Divisibility, prime numbers By default all the variables, such as a, b, k, etc., denote integer numbers. Divisibility a 0 divides b if b = a

More information

Basic elements of number theory

Basic elements of number theory Cryptography Basic elements of number theory Marius Zimand By default all the variables, such as a, b, k, etc., denote integer numbers. Divisibility a 0 divides b if b = a k for some integer k. Notation

More information

Math 324, Fall 2011 Assignment 6 Solutions

Math 324, Fall 2011 Assignment 6 Solutions Math 324, Fall 2011 Assignment 6 Solutions Exercise 1. (a) Find all positive integers n such that φ(n) = 12. (b) Show that there is no positive integer n such that φ(n) = 14. (c) Let be a positive integer.

More information

LEGENDRE S THEOREM, LEGRANGE S DESCENT

LEGENDRE S THEOREM, LEGRANGE S DESCENT LEGENDRE S THEOREM, LEGRANGE S DESCENT SUPPLEMENT FOR MATH 370: NUMBER THEORY Abstract. Legendre gave simple necessary and sufficient conditions for the solvablility of the diophantine equation ax 2 +

More information

Discrete mathematics I - Number theory

Discrete mathematics I - Number theory Discrete mathematics I - Number theory Emil Vatai (based on hungarian slides by László Mérai) 1 January 31, 2018 1 Financed from the financial support ELTE won from the Higher Education

More information

With Question/Answer Animations. Chapter 4

With Question/Answer Animations. Chapter 4 With Question/Answer Animations Chapter 4 Chapter Motivation Number theory is the part of mathematics devoted to the study of the integers and their properties. Key ideas in number theory include divisibility

More information

Lecture 4: Number theory

Lecture 4: Number theory Lecture 4: Number theory Rajat Mittal IIT Kanpur In the next few classes we will talk about the basics of number theory. Number theory studies the properties of natural numbers and is considered one of

More information

M381 Number Theory 2004 Page 1

M381 Number Theory 2004 Page 1 M81 Number Theory 2004 Page 1 [[ Comments are written like this. Please send me (dave@wildd.freeserve.co.uk) details of any errors you find or suggestions for improvements. ]] Question 1 20 = 2 * 10 +

More information

A Few Primality Testing Algorithms

A Few Primality Testing Algorithms A Few Primality Testing Algorithms Donald Brower April 2, 2006 0.1 Introduction These notes will cover a few primality testing algorithms. There are many such, some prove that a number is prime, others

More information

198 VOLUME 46/47, NUMBER 3

198 VOLUME 46/47, NUMBER 3 LAWRENCE SOMER Abstract. Rotkiewicz has shown that there exist Fibonacci pseudoprimes having the forms p(p + 2), p(2p 1), and p(2p + 3), where all the terms in the products are odd primes. Assuming Dickson

More information

Number Theory. Henry Liu, 6 July 2007

Number Theory. Henry Liu, 6 July 2007 Number Theory Henry Liu, 6 July 007 1. Introduction In one sentence, number theory is the area of mathematics which studies the properties of integers. Some of the most studied subareas are the theories

More information

Winter Camp 2009 Number Theory Tips and Tricks

Winter Camp 2009 Number Theory Tips and Tricks Winter Camp 2009 Number Theory Tips and Tricks David Arthur darthur@gmail.com 1 Introduction This handout is about some of the key techniques for solving number theory problems, especially Diophantine

More information

Chapter 1 : The language of mathematics.

Chapter 1 : The language of mathematics. MAT 200, Logic, Language and Proof, Fall 2015 Summary Chapter 1 : The language of mathematics. Definition. A proposition is a sentence which is either true or false. Truth table for the connective or :

More information

Exercises Exercises. 2. Determine whether each of these integers is prime. a) 21. b) 29. c) 71. d) 97. e) 111. f) 143. a) 19. b) 27. c) 93.

Exercises Exercises. 2. Determine whether each of these integers is prime. a) 21. b) 29. c) 71. d) 97. e) 111. f) 143. a) 19. b) 27. c) 93. Exercises Exercises 1. Determine whether each of these integers is prime. a) 21 b) 29 c) 71 d) 97 e) 111 f) 143 2. Determine whether each of these integers is prime. a) 19 b) 27 c) 93 d) 101 e) 107 f)

More information

MATH 433 Applied Algebra Lecture 4: Modular arithmetic (continued). Linear congruences.

MATH 433 Applied Algebra Lecture 4: Modular arithmetic (continued). Linear congruences. MATH 433 Applied Algebra Lecture 4: Modular arithmetic (continued). Linear congruences. Congruences Let n be a postive integer. The integers a and b are called congruent modulo n if they have the same

More information

CMPUT 403: Number Theory

CMPUT 403: Number Theory CMPUT 403: Number Theory Zachary Friggstad February 26, 2016 Outline Factoring Sieve Multiplicative Functions Greatest Common Divisors Applications Chinese Remainder Theorem Factoring Theorem (Fundamental

More information

School of Mathematics

School of Mathematics School of Mathematics Programmes in the School of Mathematics Programmes including Mathematics Final Examination Final Examination 06 22498 MSM3P05 Level H Number Theory 06 16214 MSM4P05 Level M Number

More information

4 Powers of an Element; Cyclic Groups

4 Powers of an Element; Cyclic Groups 4 Powers of an Element; Cyclic Groups Notation When considering an abstract group (G, ), we will often simplify notation as follows x y will be expressed as xy (x y) z will be expressed as xyz x (y z)

More information

A Generalization of Wilson s Theorem

A Generalization of Wilson s Theorem A Generalization of Wilson s Theorem R. Andrew Ohana June 3, 2009 Contents 1 Introduction 2 2 Background Algebra 2 2.1 Groups................................. 2 2.2 Rings.................................

More information

Analytic. Number Theory. Exploring the Anatomy of Integers. Jean-Marie. De Koninck. Florian Luca. ffk li? Graduate Studies.

Analytic. Number Theory. Exploring the Anatomy of Integers. Jean-Marie. De Koninck. Florian Luca. ffk li? Graduate Studies. Analytic Number Theory Exploring the Anatomy of Integers Jean-Marie Florian Luca De Koninck Graduate Studies in Mathematics Volume 134 ffk li? American Mathematical Society Providence, Rhode Island Preface

More information

Course MA2C02, Hilary Term 2013 Section 9: Introduction to Number Theory and Cryptography

Course MA2C02, Hilary Term 2013 Section 9: Introduction to Number Theory and Cryptography Course MA2C02, Hilary Term 2013 Section 9: Introduction to Number Theory and Cryptography David R. Wilkins Copyright c David R. Wilkins 2000 2013 Contents 9 Introduction to Number Theory 63 9.1 Subgroups

More information

A field F is a set of numbers that includes the two numbers 0 and 1 and satisfies the properties:

A field F is a set of numbers that includes the two numbers 0 and 1 and satisfies the properties: Byte multiplication 1 Field arithmetic A field F is a set of numbers that includes the two numbers 0 and 1 and satisfies the properties: F is an abelian group under addition, meaning - F is closed under

More information

Selected Chapters from Number Theory and Algebra

Selected Chapters from Number Theory and Algebra Selected Chapters from Number Theory and Algebra A project under construction Franz Rothe Department of Mathematics University of North Carolina at Charlotte Charlotte, NC 83 frothe@uncc.edu December 8,

More information

ON DIRICHLET S CONJECTURE ON RELATIVE CLASS NUMBER ONE

ON DIRICHLET S CONJECTURE ON RELATIVE CLASS NUMBER ONE ON DIRICHLET S CONJECTURE ON RELATIVE CLASS NUMBER ONE AMANDA FURNESS Abstract. We examine relative class numbers, associated to class numbers of quadratic fields Q( m) for m > 0 and square-free. The relative

More information

Course 2316 Sample Paper 1

Course 2316 Sample Paper 1 Course 2316 Sample Paper 1 Timothy Murphy April 19, 2015 Attempt 5 questions. All carry the same mark. 1. State and prove the Fundamental Theorem of Arithmetic (for N). Prove that there are an infinity

More information

A. Algebra and Number Theory

A. Algebra and Number Theory A. Algebra and Number Theory Public-key cryptosystems are based on modular arithmetic. In this section, we summarize the concepts and results from algebra and number theory which are necessary for an understanding

More information

Chapter 5. Modular arithmetic. 5.1 The modular ring

Chapter 5. Modular arithmetic. 5.1 The modular ring Chapter 5 Modular arithmetic 5.1 The modular ring Definition 5.1. Suppose n N and x, y Z. Then we say that x, y are equivalent modulo n, and we write x y mod n if n x y. It is evident that equivalence

More information

Coding Theory ( Mathematical Background I)

Coding Theory ( Mathematical Background I) N.L.Manev, Lectures on Coding Theory (Maths I) p. 1/18 Coding Theory ( Mathematical Background I) Lector: Nikolai L. Manev Institute of Mathematics and Informatics, Sofia, Bulgaria N.L.Manev, Lectures

More information

Math 324, Fall 2011 Assignment 7 Solutions. 1 (ab) γ = a γ b γ mod n.

Math 324, Fall 2011 Assignment 7 Solutions. 1 (ab) γ = a γ b γ mod n. Math 324, Fall 2011 Assignment 7 Solutions Exercise 1. (a) Suppose a and b are both relatively prime to the positive integer n. If gcd(ord n a, ord n b) = 1, show ord n (ab) = ord n a ord n b. (b) Let

More information

Some new representation problems involving primes

Some new representation problems involving primes A talk given at Hong Kong Univ. (May 3, 2013) and 2013 ECNU q-series Workshop (Shanghai, July 30) Some new representation problems involving primes Zhi-Wei Sun Nanjing University Nanjing 210093, P. R.

More information

I Foundations Of Divisibility And Congruence 1

I Foundations Of Divisibility And Congruence 1 Contents I Foundations Of Divisibility And Congruence 1 1 Divisibility 3 1.1 Definitions............................. 3 1.2 Properties Of Divisibility..................... 5 1.3 Some Basic Combinatorial

More information

Smol Results on the Möbius Function

Smol Results on the Möbius Function Karen Ge August 3, 207 Introduction We will address how Möbius function relates to other arithmetic functions, multiplicative number theory, the primitive complex roots of unity, and the Riemann zeta function.

More information

A Readable Introduction to Real Mathematics

A Readable Introduction to Real Mathematics Solutions to selected problems in the book A Readable Introduction to Real Mathematics D. Rosenthal, D. Rosenthal, P. Rosenthal Chapter 7: The Euclidean Algorithm and Applications 1. Find the greatest

More information

Notes on Systems of Linear Congruences

Notes on Systems of Linear Congruences MATH 324 Summer 2012 Elementary Number Theory Notes on Systems of Linear Congruences In this note we will discuss systems of linear congruences where the moduli are all different. Definition. Given the

More information

This exam contains 5 pages (including this cover page) and 4 questions. The total number of points is 100. Grade Table

This exam contains 5 pages (including this cover page) and 4 questions. The total number of points is 100. Grade Table MAT115A-21 Summer Session 2 2018 Practice Final Solutions Name: Time Limit: 1 Hour 40 Minutes Instructor: Nathaniel Gallup This exam contains 5 pages (including this cover page) and 4 questions. The total

More information

The set of integers will be denoted by Z = {, -3, -2, -1, 0, 1, 2, 3, 4, }

The set of integers will be denoted by Z = {, -3, -2, -1, 0, 1, 2, 3, 4, } Integers and Division 1 The Integers and Division This area of discrete mathematics belongs to the area of Number Theory. Some applications of the concepts in this section include generating pseudorandom

More information

Number Theory Course notes for MA 341, Spring 2018

Number Theory Course notes for MA 341, Spring 2018 Number Theory Course notes for MA 341, Spring 2018 Jared Weinstein May 2, 2018 Contents 1 Basic properties of the integers 3 1.1 Definitions: Z and Q....................... 3 1.2 The well-ordering principle...................

More information

1 Overview and revision

1 Overview and revision MTH6128 Number Theory Notes 1 Spring 2018 1 Overview and revision In this section we will meet some of the concerns of Number Theory, and have a brief revision of some of the relevant material from Introduction

More information

Algebra for error control codes

Algebra for error control codes Algebra for error control codes EE 387, Notes 5, Handout #7 EE 387 concentrates on block codes that are linear: Codewords components are linear combinations of message symbols. g 11 g 12 g 1n g 21 g 22

More information

A DO-IT-YOURSELF INTRODUCTION TO NUMBER THEORY. James T. Cross

A DO-IT-YOURSELF INTRODUCTION TO NUMBER THEORY. James T. Cross A DO-IT-YOURSELF INTRODUCTION TO NUMBER THEORY James T. Cross September 24, 2009 2 Contents 1 The Fundamental Theorem of Arithmetic 5 1.1 The Fundamental Theorem in Z........................ 5 1.2 The

More information

Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry. Spring 2006

Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry. Spring 2006 Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry Spring 2006 1 / 1 Computer Science & Engineering 235 Introduction to Discrete Mathematics Sections 2.4 2.6 of Rosen Introduction I When talking

More information

LECTURE NOTES IN CRYPTOGRAPHY

LECTURE NOTES IN CRYPTOGRAPHY 1 LECTURE NOTES IN CRYPTOGRAPHY Thomas Johansson 2005/2006 c Thomas Johansson 2006 2 Chapter 1 Abstract algebra and Number theory Before we start the treatment of cryptography we need to review some basic

More information

Part IA Numbers and Sets

Part IA Numbers and Sets Part IA Numbers and Sets Definitions Based on lectures by A. G. Thomason Notes taken by Dexter Chua Michaelmas 2014 These notes are not endorsed by the lecturers, and I have modified them (often significantly)

More information

Any real-valued function on the integers f:n R (or complex-valued function f:n C) is called an arithmetic function.

Any real-valued function on the integers f:n R (or complex-valued function f:n C) is called an arithmetic function. Arithmetic Functions Any real-valued function on the integers f:n R (or complex-valued function f:n C) is called an arithmetic function. Examples: τ(n) = number of divisors of n; ϕ(n) = number of invertible

More information

Lecture 5: Arithmetic Modulo m, Primes and Greatest Common Divisors Lecturer: Lale Özkahya

Lecture 5: Arithmetic Modulo m, Primes and Greatest Common Divisors Lecturer: Lale Özkahya BBM 205 Discrete Mathematics Hacettepe University http://web.cs.hacettepe.edu.tr/ bbm205 Lecture 5: Arithmetic Modulo m, Primes and Greatest Common Divisors Lecturer: Lale Özkahya Resources: Kenneth Rosen,

More information

Solutions to Problem Set 4 - Fall 2008 Due Tuesday, Oct. 7 at 1:00

Solutions to Problem Set 4 - Fall 2008 Due Tuesday, Oct. 7 at 1:00 Solutions to 8.78 Problem Set 4 - Fall 008 Due Tuesday, Oct. 7 at :00. (a Prove that for any arithmetic functions f, f(d = f ( n d. To show the relation, we only have to show this equality of sets: {d

More information

2.3 In modular arithmetic, all arithmetic operations are performed modulo some integer.

2.3 In modular arithmetic, all arithmetic operations are performed modulo some integer. CHAPTER 2 INTRODUCTION TO NUMBER THEORY ANSWERS TO QUESTIONS 2.1 A nonzero b is a divisor of a if a = mb for some m, where a, b, and m are integers. That is, b is a divisor of a if there is no remainder

More information

Numbers and their divisors

Numbers and their divisors Chapter 1 Numbers and their divisors 1.1 Some number theoretic functions Theorem 1.1 (Fundamental Theorem of Arithmetic). Every positive integer > 1 is uniquely the product of distinct prime powers: n

More information

Number Theory in Problem Solving. Konrad Pilch

Number Theory in Problem Solving. Konrad Pilch Number Theory in Problem Solving Konrad Pilch April 7, 2016 1 Divisibility Number Theory concerns itself mostly with the study of the natural numbers (N) and the integers (Z). As a consequence, it deals

More information

Part IA Numbers and Sets

Part IA Numbers and Sets Part IA Numbers and Sets Theorems Based on lectures by A. G. Thomason Notes taken by Dexter Chua Michaelmas 2014 These notes are not endorsed by the lecturers, and I have modified them (often significantly)

More information

PRIME NUMBERS YANKI LEKILI

PRIME NUMBERS YANKI LEKILI PRIME NUMBERS YANKI LEKILI We denote by N the set of natural numbers: 1,2,..., These are constructed using Peano axioms. We will not get into the philosophical questions related to this and simply assume

More information