Number Theory and Graph Theory. Arithmetic functions and roots of unity

Size: px
Start display at page:

Download "Number Theory and Graph Theory. Arithmetic functions and roots of unity"

Transcription

1 1 Number Theory and Graph Theory Chapter 3 Arithmetic functions and roots of unity By A. Satyanarayana Reddy Department of Mathematics Shiv Nadar University Uttar Pradesh, India satya8118@gmail.com

2 2 Module-1: Introduction to arithmetic functions Objectives Introduction to arithmetic functions. Multiplicative function and completely multiplicative function. Properties of few well known multiplicative functions. Perfect numbers. An arithmetic function takes positive integers as inputs and produces real or complex numbers as outputs. Definition 1. A function f : N C is called a number-theoretic (or arithmetic) function. Although, the co-domain of a number-theoretic function is not required to be an integer, but most of the arithmetic functions that we will encounter are integer-valued. We now give a few examples of arithmetic functions and study their properties. Definition 2. Given a positive integer n, the number of positive divisors of n, denoted τ(n), is given by τ(n) = 1. d n n τ(n) the sum of the divisors of n, denoted σ(n), is given by σ(n) = d. d n n σ(n) and a positive integer k, we define σ k (n) = d k. Note that σ 0 = τ and σ 1 = σ. d n

3 3 U(n) = 1. N(n) = n. 1 i f n = 1 I(n) = 0 i f n 1. Möbius function 0, if n is not square free, µ(n) = 1, if n is square free and has even number of prime factors, 1, if n is square free and has odd number of prime factors. n µ(n) Definition 3. Fix a positive integer n and an arithmetic function f. Then, the divisor sum of f at n, denoted (D f )(n), equals the sum of the values of f at the positive divisors of n. Notice that the divisor sum is a function which takes an arithmetic function as input and produces an arithmetic function as output. Mathematically, Theorem 4. (D f )(n) = f (d). d n 1. Let f : N Z + be a function defined by f (n) = n k, for some k Z +. Then, f is an arithmetic function and note that its divisor sum D f = σ k. 2. Similarly, verify that DU = τ and DN = σ. 3. Dµ = I. Proof. Proof of (1) and (2) directly follows from the definition of the respective arithmetic functions. Now, let us prove (3). Note that the result holds true for n = 1. That is, (Dµ)(1) = µ(1) = 1.

4 4 So, let n > 1. Then, by the fundamental theorem of arithmetic n = p a 1 1 pa 2 2 pa k k, where p 1, p 2,..., p k are distinct primes and a i 1 for all i. As µ(d) = 0, whenever d is not square free, we have (Dµ)(n) = µ(1) + k i=1 µ(p i ) + µ(p i p j ) + + µ(p 1 p 2 p k ). i j Thus, using the binomial theorem (a + b) n = n ( n i) a n i b i, where ( n) n! i = i=0 i!(n i)! ) (Dµ)(n) = 1 + ( ) k ( 1) + 1 ( ) k ( 1) ( k 3 ( 1) 3 + +, we have ( ) k ( 1) k = (1 1) k = 0. k Definition An arithmetic function f is said to be a multiplicative function if f (mn) = f (m) f (n), whenever gcd(m,n) = An arithmetic function f is said to be a completely multiplicative function if f (mn) = f (m) f (n). By definition, every completely multiplicative function is multiplicative. For example, U and N are completely multiplicative functions and hence multiplicative. If f is multiplicative and n 1,n 2,...,n k are pairwise relatively prime positive integers then, f (n 1 n 2 n k ) = f (n 1 ) f (n 2 ) f (n k ). Consequently, if f is multiplicative, then in order to evaluate f (n) for any positive integer n 2, it is sufficient to evaluate f (p k 1 1 ), f (pk 2 2 ),..., f (pk r r ), whenever n = p k 1 1 pk 2 2 pk r r is the prime factorization of n into distinct primes. Further, if f is completely multiplicative then, f (n) = f (p 1 ) k 1 f (p 2 ) k 2 f (p r ) k r, i.e., if we know the values of f at prime numbers then, we know its value at every positive integer. If f is multiplicative and not identically zero, then f (1) = 1.

5 5 Proof. Since f is not identically zero, there exists m N such that f (m) 0. But, f (m) = f (m 1) = f (m) f (1) and hence f (1) = 1. Theorem 6. Let f : N C be a multiplicative function. Then D f is also multiplicative. Proof. Let gcd(a,b) = 1 and let x and y be any positive divisors of a and b, respectively. Then, xy is a positive divisor of ab. Conversely, if m ab then, there exists x,y Z such that m = xy and x a and y b. Hence, (D f )(ab) = m ab = = x a y b f (m) = f (xy) x a y b ( f (x) x a f (x) f (y) )( ) f (y) y b = (D f )(a) (D f )(b). Since the functions U,N and I are multiplicative, using Theorems 4 and 6, we observe that τ,σ and µ are multiplicative functions. But, we give an independent proof of all of these results as they also give some extra information about the actual functions. Theorem 7. The Möbius function µ is multiplicative. Proof. Let a,b be relatively prime positive integers and let p be a prime such that p 2 a or p 2 b. Then, p 2 ab and hence µ(ab) = 0 = µ(a)µ(b). So, let us assume that both a and b are square free integers. Then, a = p 1 p 2 p r and b = q 1 q 2 q s, where the primes p 1,..., p r,q 1,...,q s are distinct as gcd(a,b) = 1. Now, by definition µ(ab) = µ(p 1 p 2 p r q 1 q 2 q s ) = ( 1) r+s = ( 1) r ( 1) s = µ(a)µ(b).

6 6 Properties of τ(n) and σ(n) Theorem 8. Let n = p k 1 1 pk 2 2 pk r r be the prime factorization of n 2 into distinct primes. Then, 1. τ(n) = (k 1 + 1)(k 2 + 1) (k r + 1). 1 p r σ(n) = pk pk p 1 1 p 2 1 pk r+1 r Proof. Proof of 1 From Theorem 14 of Module 1 of Chapter 2, any divisor d of n is of the form d = p a 1 1 pa r r, where 0 a i k i. So, for each i,1 i r, a i has k i + 1 possible choices. Also, the choices for a i is independent of the choice of a j, whenever i j, the number of possible divisors of n are Proof of 2 (k 1 + 1)(k 2 + 1) (k r + 1). Observe that each positive divisor of n occurs exactly once as a term in the expansion of the product In other words, (1 + p p k 1 1 )(1 + p p k 2 2 ) (1 + p r + + p k r r ). σ(n) = (1 + p p k 1 1 )(1 + p p k 2 2 ) (1 + p r + + p k r r ) = pk p 1 1 pk p 2 1 pkr+1 r 1 p r 1. Theorem 9. The arithmetic functions τ and σ are multiplicative. Proof. Let m and n be relatively prime positive integers. Then, the result is clearly true when m or n is 1. So, assume that n,m 2. Then, by the fundamental theorem of arithmetic, there exists distinct primes p 1,..., p r,q 1,...,q s and positive integers a 1,...,a r,b 1,...,b r such that m = p a 1 1 pa r r,n = q b 1 1 qb s s and mn = p a 1 1 pa r r q b 1 1 qb s s.

7 7 Thus, Similarly, τ(mn) = (a 1 + 1)(a 2 + 1) (a r + 1) (b 1 + 1)(b 2 + 1) (b s + 1) = τ(m)τ(n). σ(mn) = [ p a p 1 1 par+1 r 1 p r 1 ][ q b q 1 1 ] qbs+1 s 1 = σ(m)σ(n). q s 1 Example 10. Let n 2 be a positive integer. If the prime factorization of n into distinct primes is given by n = p k 1 1 pk r r 2 then, τ(n) is odd if and only if n is a perfect square. Proof. The result follows from τ(n) = (k 1 + 1) (k r + 1) as n is a perfect square if and only if 2 divides each k i,1 i r. Definition 11. A positive number n is said to be a Perfect number if σ(n) = 2n. That is, a number M is a perfect number if the sum of all its divisors is 2M. The smallest perfect number is 6 as = 12 = 2 6. The following perfect number eye chart is taken from Ron Ruemmler s letter, Mathematics Teacher, November

8 8 Theorem 12. (Euclid) Let n 2 be a positive integer such that 2 n 1 is a prime. Then, 2 n 1 (2 n 1) is a perfect number. Proof. Let M = 2 n 1 (2 n 1). Since 2 n 1 is a prime, σ(2 n 1) = 1 + (2 n 1) = 2 n. As σ is a multiplicative function and gcd(2 n 1,(2 n 1)) = 1, we have σ(m) = σ(2 n 1 ) σ(2 n 1) = ( n 1 )2 n = 2n n = 2M. Euler proved the converse of the above result which is stated next. Theorem 13. Let M be an even perfect number. Then M is of the form 2 n 1 (2 n 1), where n 2 and 2 n 1 is a prime number. Proof. Let M be an even perfect number, say M = 2 t q, with q as an odd positive integer. We claim that q is prime and is of the form 2 t+1 1. Since M is perfect number, 2 t+1 q = 2M = σ(m) = (1 = t )σ(q) = (2 t+1 1)σ(q). (1) Since gcd(2 t+1 1,2 t+1 ) = 1, 2 t+1 divides σ(q) and hence, σ(q) = 2 t+1 s, for some odd positive integer s. Thus, (1) reduces to q = (2 t+1 1)s. Now the only thing left to show is s = 1 and q is prime. Since σ(q) = 2 t+1 s, we observe that q = (2 t+1 1)s = σ(q) s. Or equivalently, σ(q) = q +s. Thus, we see that the factors of q should only be q and s. And, for this to happen, s must equal 1 and 2 t+1 1 must be a prime. The following two results are taken from the article The greatest two-point answer ever by William Dunham and Hank Sneddon, Math Horizons, Theorem 14. Let M be an even perfect number. Then σ(σ(m)) > 4M.

9 9 Proof. Let M be an even perfect number. Then, from Theorem 13, M is of the form 2 n 1 (2 n 1), for some positive integer n such that 2 n 1 is a prime. Since σ(m) = 2M, we have σ(σ(m)) = σ(2m) = σ(2 n (2 n 1)) = σ(2 n ) σ(2 n 1) = ( n )[(2 n 1) + 1] = (2 n+1 1)2 n > (2 n+1 2)2 n = 4M. One also gets the exact value of σ(σ(m)), whenever M is an even perfect number. Theorem 15. Let M be an even perfect number. Then, σ(σ(m)) = 4M M 2. Proof. Theorem 13 implies that M = 2 n 1 (2 n 1) for some positive integer n 2 such that 2 n 1 is a prime. Thus, we see that 2 2n 1 2 n 1 M = 0. Or equivalently, (2 n ) 2 2 n 2M = 0. Thus, 2 n is a positive root of the quadratic equation x 2 x 2M = 0 and hence 2 n = M. 2 We now prove the required equality using n 2 and the above value of 2 n. σ(σ(m)) = σ(2m) = (2 n+1 1)2 n = 4(2 2n 1 2 n 2 ) = 4[2 n 1 (2 n 1) + (2 n 1 2 n 2 )] = 4M + 2 n = 4M M. 2

Number Theory and Graph Theory. Prime numbers and congruences.

Number Theory and Graph Theory. Prime numbers and congruences. 1 Number Theory and Graph Theory Chapter 2 Prime numbers and congruences. By A. Satyanarayana Reddy Department of Mathematics Shiv Nadar University Uttar Pradesh, India E-mail: satya8118@gmail.com 2 Module-1:Primes

More information

Number-Theoretic Function

Number-Theoretic Function Chapter 1 Number-Theoretic Function 1.1 The function τ and σ Definition 1.1.1. Given a positive integer n, let τ(n) denote the number of positive divisor of n and σ(n) denote the sum of these divisor.

More information

Number Theory and Graph Theory

Number Theory and Graph Theory 1 Number Theory and Graph Theory Chapter 1 Introduction and Divisibility By A. Satyanarayana Reddy Department of Mathematics Shiv Nadar University Uttar Pradesh, India E-mail: satya8118@gmail.com 1 DIVISION

More information

Number Theory and Graph Theory

Number Theory and Graph Theory 1 Number Theory and Graph Theory Chapter 5 Additional Topics By A. Satyanarayana Reddy Department of Mathematics Shiv Nadar University Uttar Pradesh, India E-mail: satya8118@gmail.com 2 Module-2: Pythagorean

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 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

Some multiplicative arithmetical functions

Some multiplicative arithmetical functions Some multiplicative arithmetical functions an invitation to number theory K. N. Raghavan http://www.imsc.res.in/ knr/ IMSc, Chennai August 203 Standard form of prime factorization of a number; GCD and

More information

Discrete Structures Lecture Primes and Greatest Common Divisor

Discrete Structures Lecture Primes and Greatest Common Divisor DEFINITION 1 EXAMPLE 1.1 EXAMPLE 1.2 An integer p greater than 1 is called prime if the only positive factors of p are 1 and p. A positive integer that is greater than 1 and is not prime is called composite.

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

Summary Slides for MATH 342 June 25, 2018

Summary Slides for MATH 342 June 25, 2018 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.

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

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

This is a recursive algorithm. The procedure is guaranteed to terminate, since the second argument decreases each time.

This is a recursive algorithm. The procedure is guaranteed to terminate, since the second argument decreases each time. 8 Modular Arithmetic We introduce an operator mod. Let d be a positive integer. For c a nonnegative integer, the value c mod d is the remainder when c is divided by d. For example, c mod d = 0 if and only

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

Ch 4.2 Divisibility Properties

Ch 4.2 Divisibility Properties Ch 4.2 Divisibility Properties - Prime numbers and composite numbers - Procedure for determining whether or not a positive integer is a prime - GCF: procedure for finding gcf (Euclidean Algorithm) - Definition:

More information

CISC-102 Winter 2016 Lecture 11 Greatest Common Divisor

CISC-102 Winter 2016 Lecture 11 Greatest Common Divisor CISC-102 Winter 2016 Lecture 11 Greatest Common Divisor Consider any two integers, a,b, at least one non-zero. If we list the positive divisors in numeric order from smallest to largest, we would get two

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

Outline. Some Review: Divisors. Common Divisors. Primes and Factors. b divides a (or b is a divisor of a) if a = mb for some m

Outline. Some Review: Divisors. Common Divisors. Primes and Factors. b divides a (or b is a divisor of a) if a = mb for some m Outline GCD and Euclid s Algorithm AIT 682: Network and Systems Security Topic 5.1 Basic Number Theory -- Foundation of Public Key Cryptography Modulo Arithmetic Modular Exponentiation Discrete Logarithms

More information

Outline. AIT 682: Network and Systems Security. GCD and Euclid s Algorithm Modulo Arithmetic Modular Exponentiation Discrete Logarithms

Outline. AIT 682: Network and Systems Security. GCD and Euclid s Algorithm Modulo Arithmetic Modular Exponentiation Discrete Logarithms AIT 682: Network and Systems Security Topic 5.1 Basic Number Theory -- Foundation of Public Key Cryptography Instructor: Dr. Kun Sun Outline GCD and Euclid s Algorithm Modulo Arithmetic Modular Exponentiation

More information

Perfect Polynomials. modulo 2. Ugur Caner Cengiz. Lake Forest College. April 7, 2015

Perfect Polynomials. modulo 2. Ugur Caner Cengiz. Lake Forest College. April 7, 2015 Perfect Polynomials modulo 2 Ugur Caner Cengiz Lake Forest College April 7, 2015 Ugur Caner Cengiz Perfect Polynomials Student Symposium 2015 1 / 18 Outline 1 Definitions modulo 2 What is "Perfect"? Perfect

More information

Chapter 1. Number of special form. 1.1 Introduction(Marin Mersenne) 1.2 The perfect number. See the book.

Chapter 1. Number of special form. 1.1 Introduction(Marin Mersenne) 1.2 The perfect number. See the book. Chapter 1 Number of special form 1.1 Introduction(Marin Mersenne) See the book. 1.2 The perfect number Definition 1.2.1. A positive integer n is said to be perfect if n is equal to the sum of all its positive

More information

CSC 474 Network Security. Outline. GCD and Euclid s Algorithm. GCD and Euclid s Algorithm Modulo Arithmetic Modular Exponentiation Discrete Logarithms

CSC 474 Network Security. Outline. GCD and Euclid s Algorithm. GCD and Euclid s Algorithm Modulo Arithmetic Modular Exponentiation Discrete Logarithms Computer Science CSC 474 Network Security Topic 5.1 Basic Number Theory -- Foundation of Public Key Cryptography CSC 474 Dr. Peng Ning 1 Outline GCD and Euclid s Algorithm Modulo Arithmetic Modular Exponentiation

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

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

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

NOTES ON INTEGERS. 1. Integers

NOTES ON INTEGERS. 1. Integers NOTES ON INTEGERS STEVEN DALE CUTKOSKY The integers 1. Integers Z = {, 3, 2, 1, 0, 1, 2, 3, } have addition and multiplication which satisfy familar rules. They are ordered (m < n if m is less than n).

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

f(n) = f(p e 1 1 )...f(p e k k ).

f(n) = f(p e 1 1 )...f(p e k k ). 3. Arithmetic functions 3.. Arithmetic functions. These are functions f : N N or Z or maybe C, usually having some arithmetic significance. An important subclass of such functions are the multiplicative

More information

cse547, math547 DISCRETE MATHEMATICS Professor Anita Wasilewska

cse547, math547 DISCRETE MATHEMATICS Professor Anita Wasilewska cse547, math547 DISCRETE MATHEMATICS Professor Anita Wasilewska LECTURE 12 CHAPTER 4 NUMBER THEORY PART1: Divisibility PART 2: Primes PART 1: DIVISIBILITY Basic Definitions Definition Given m,n Z, we say

More information

Perfect if and only if Triangular

Perfect if and only if Triangular Advances in Theoretical and Applied Mathematics ISSN 0973-4554 Volume 1, Number 1 (017), pp. 39-50 Research India Publications http://www.ripublication.com Perfect if and only if Triangular Tilahun Muche,

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

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

Fall 2017 Test II review problems

Fall 2017 Test II review problems Fall 2017 Test II review problems Dr. Holmes October 18, 2017 This is a quite miscellaneous grab bag of relevant problems from old tests. Some are certainly repeated. 1. Give the complete addition and

More information

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

Some Extensions to Touchard s Theorem on Odd Perfect Numbers

Some Extensions to Touchard s Theorem on Odd Perfect Numbers arxiv:1709.0586v1 [math.nt] 14 Sep 017 Some Extensions to Touchard s Theorem on Odd Perfect Numbers Paolo Starni Abstract The multiplicative structure of an odd perfect number n, if any, is n = π α M,

More information

CISC-102 Fall 2017 Week 6

CISC-102 Fall 2017 Week 6 Week 6 page 1! of! 15 CISC-102 Fall 2017 Week 6 We will see two different, yet similar, proofs that there are infinitely many prime numbers. One proof would surely suffice. However, seeing two different

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

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

PRACTICE PROBLEMS: SET 1

PRACTICE PROBLEMS: SET 1 PRACTICE PROBLEMS: SET MATH 437/537: PROF. DRAGOS GHIOCA. Problems Problem. Let a, b N. Show that if gcd(a, b) = lcm[a, b], then a = b. Problem. Let n, k N with n. Prove that (n ) (n k ) if and only if

More information

CHAPTER 1 REAL NUMBERS KEY POINTS

CHAPTER 1 REAL NUMBERS KEY POINTS CHAPTER 1 REAL NUMBERS 1. Euclid s division lemma : KEY POINTS For given positive integers a and b there exist unique whole numbers q and r satisfying the relation a = bq + r, 0 r < b. 2. Euclid s division

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

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

2 Elementary number theory

2 Elementary number theory 2 Elementary number theory 2.1 Introduction Elementary number theory is concerned with properties of the integers. Hence we shall be interested in the following sets: The set if integers {... 2, 1,0,1,2,3,...},

More information

STUDY GUIDE FOR THE WRECKONING. 1. Combinatorics. (1) How many (positive integer) divisors does 2940 have? What about 3150?

STUDY GUIDE FOR THE WRECKONING. 1. Combinatorics. (1) How many (positive integer) divisors does 2940 have? What about 3150? STUDY GUIDE FOR THE WRECKONING. Combinatorics Go over combinatorics examples in the text. Review all the combinatorics problems from homework. Do at least a couple of extra problems given below. () How

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

8 Primes and Modular Arithmetic

8 Primes and Modular Arithmetic 8 Primes and Modular Arithmetic 8.1 Primes and Factors Over two millennia ago already, people all over the world were considering the properties of numbers. One of the simplest concepts is prime numbers.

More information

The Euler Phi Function

The Euler Phi Function The Euler Phi Function 7-3-2006 An arithmetic function takes ositive integers as inuts and roduces real or comlex numbers as oututs. If f is an arithmetic function, the divisor sum Dfn) is the sum of the

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

2 Arithmetic. 2.1 Greatest common divisors. This chapter is about properties of the integers Z = {..., 2, 1, 0, 1, 2,...}.

2 Arithmetic. 2.1 Greatest common divisors. This chapter is about properties of the integers Z = {..., 2, 1, 0, 1, 2,...}. 2 Arithmetic This chapter is about properties of the integers Z = {..., 2, 1, 0, 1, 2,...}. (See [Houston, Chapters 27 & 28]) 2.1 Greatest common divisors Definition 2.16. If a, b are integers, we say

More information

Chapter 5: The Integers

Chapter 5: The Integers c Dr Oksana Shatalov, Fall 2014 1 Chapter 5: The Integers 5.1: Axioms and Basic Properties Operations on the set of integers, Z: addition and multiplication with the following properties: A1. Addition

More information

ODD HARMONIC NUMBERS EXCEED 10 24

ODD HARMONIC NUMBERS EXCEED 10 24 MATHEMATICS OF COMPUTATION Volume 79, Number 272, October 2010, Pages 2451 2460 S 0025-5718(10)02337-9 Article electronically published on April 9, 2010 ODD HARMONIC NUMBERS EXCEED 10 24 GRAEME L. COHEN

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

The Fundamental Theorem of Arithmetic

The Fundamental Theorem of Arithmetic Chapter 1 The Fundamental Theorem of Arithmetic 1.1 Primes Definition 1.1. We say that p N is prime if it has just two factors in N, 1 and p itself. Number theory might be described as the study of the

More information

Math Circle Beginners Group February 28, 2016 Euclid and Prime Numbers Solutions

Math Circle Beginners Group February 28, 2016 Euclid and Prime Numbers Solutions Math Circle Beginners Group February 28, 2016 Euclid and Prime Numbers Solutions Warm-up Problems 1. What is a prime number? Give an example of an even prime number and an odd prime number. A prime number

More information

Greatest Common Divisor MATH Greatest Common Divisor. Benjamin V.C. Collins, James A. Swenson MATH 2730

Greatest Common Divisor MATH Greatest Common Divisor. Benjamin V.C. Collins, James A. Swenson MATH 2730 MATH 2730 Greatest Common Divisor Benjamin V.C. Collins James A. Swenson The world s least necessary definition Definition Let a, b Z, not both zero. The largest integer d such that d a and d b is called

More information

Congruence Classes. Number Theory Essentials. Modular Arithmetic Systems

Congruence Classes. Number Theory Essentials. Modular Arithmetic Systems Cryptography Introduction to Number Theory 1 Preview Integers Prime Numbers Modular Arithmetic Totient Function Euler's Theorem Fermat's Little Theorem Euclid's Algorithm 2 Introduction to Number Theory

More information

Polynomials. In many problems, it is useful to write polynomials as products. For example, when solving equations: Example:

Polynomials. In many problems, it is useful to write polynomials as products. For example, when solving equations: Example: Polynomials Monomials: 10, 5x, 3x 2, x 3, 4x 2 y 6, or 5xyz 2. A monomial is a product of quantities some of which are unknown. Polynomials: 10 + 5x 3x 2 + x 3, or 4x 2 y 6 + 5xyz 2. A polynomial is a

More information

Mosaics: A Prime-al Art

Mosaics: A Prime-al Art Mosaics: A Prime-al Art Kristen Bildhauser Saint Mary s College Notre Dame, IN 46556 kbildh01@saintmarys.edu Cara Tacoma Trinity Christian College Palos Heights, IL 60463 cara.tacoma@trnty.edu July 31,

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

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

Number Theory, Algebra and Analysis. William Yslas Vélez Department of Mathematics University of Arizona

Number Theory, Algebra and Analysis. William Yslas Vélez Department of Mathematics University of Arizona Number Theory, Algebra and Analysis William Yslas Vélez Department of Mathematics University of Arizona O F denotes the ring of integers in the field F, it mimics Z in Q How do primes factor as you consider

More information

Divisibility in the Fibonacci Numbers. Stefan Erickson Colorado College January 27, 2006

Divisibility in the Fibonacci Numbers. Stefan Erickson Colorado College January 27, 2006 Divisibility in the Fibonacci Numbers Stefan Erickson Colorado College January 27, 2006 Fibonacci Numbers F n+2 = F n+1 + F n n 1 2 3 4 6 7 8 9 10 11 12 F n 1 1 2 3 8 13 21 34 89 144 n 13 14 1 16 17 18

More information

Mat Week 8. Week 8. gcd() Mat Bases. Integers & Computers. Linear Combos. Week 8. Induction Proofs. Fall 2013

Mat Week 8. Week 8. gcd() Mat Bases. Integers & Computers. Linear Combos. Week 8. Induction Proofs. Fall 2013 Fall 2013 Student Responsibilities Reading: Textbook, Section 3.7, 4.1, & 5.2 Assignments: Sections 3.6, 3.7, 4.1 Proof Worksheets Attendance: Strongly Encouraged Overview 3.6 Integers and Algorithms 3.7

More information

CSC 474 Information Systems Security

CSC 474 Information Systems Security CSC Information Systems Security Topic. Basic Number Theory CSC Dr. Peng Ning Basic Number Theory We are talking about integers! Divisor We say that b divides a if a = mb for some m, denoted b a. b is

More information

n = p 1 p 2 p r = q 1 q 2 q m, then r = m (i.e. the number of primes in any prime decomposition

n = p 1 p 2 p r = q 1 q 2 q m, then r = m (i.e. the number of primes in any prime decomposition Department of Mathematical Sciences Instructor: Daiva Pucinskaite Discrete Mathematics Factoring Recall. Fundamental Theorem of Arithmetic. Let n be a positive integer n > 1. Then n can be represented

More information

Introduction to Number Theory

Introduction to Number Theory Introduction to Number Theory Number theory is about integers and their properties. We will start with the basic principles of divisibility, greatest common divisors, least common multiples, and modular

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

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

Student Responsibilities Week 8. Mat Section 3.6 Integers and Algorithms. Algorithm to Find gcd()

Student Responsibilities Week 8. Mat Section 3.6 Integers and Algorithms. Algorithm to Find gcd() Student Responsibilities Week 8 Mat 2345 Week 8 Reading: Textbook, Section 3.7, 4.1, & 5.2 Assignments: Sections 3.6, 3.7, 4.1 Induction Proof Worksheets Attendance: Strongly Encouraged Fall 2013 Week

More information

Carmen s Core Concepts (Math 135)

Carmen s Core Concepts (Math 135) Carmen s Core Concepts (Math 135) Carmen Bruni University of Waterloo Week 4 1 Principle of Mathematical Induction 2 Example 3 Base Case 4 Inductive Hypothesis 5 Inductive Step When Induction Isn t Enough

More information

PUTNAM TRAINING NUMBER THEORY. Exercises 1. Show that the sum of two consecutive primes is never twice a prime.

PUTNAM TRAINING NUMBER THEORY. Exercises 1. Show that the sum of two consecutive primes is never twice a prime. PUTNAM TRAINING NUMBER THEORY (Last updated: December 11, 2017) Remark. This is a list of exercises on Number Theory. Miguel A. Lerma Exercises 1. Show that the sum of two consecutive primes is never twice

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

Midterm 3 Review. Terms. Formulas and Rules to Use. Math 1010, Fall 2011 Instructor: Marina Gresham. Odd Root ( n x where n is odd) Exponent

Midterm 3 Review. Terms. Formulas and Rules to Use. Math 1010, Fall 2011 Instructor: Marina Gresham. Odd Root ( n x where n is odd) Exponent Math 1010, Fall 2011 Instructor: Marina Gresham Terms Midterm 3 Review Exponent Polynomial - Monomial - Binomial - Trinomial - Standard Form - Degree - Leading Coefficient - Constant Term Difference of

More information

Mathematics of Cryptography

Mathematics of Cryptography Modulo arithmetic Fermat's Little Theorem If p is prime and 0 < a < p, then a p 1 = 1 mod p Ex: 3 (5 1) = 81 = 1 mod 5 36 (29 1) = 37711171281396032013366321198900157303750656 = 1 mod 29 (see http://gauss.ececs.uc.edu/courses/c472/java/fermat/fermat.html)

More information

Numbers. Çetin Kaya Koç Winter / 18

Numbers. Çetin Kaya Koç   Winter / 18 Çetin Kaya Koç http://koclab.cs.ucsb.edu Winter 2016 1 / 18 Number Systems and Sets We represent the set of integers as Z = {..., 3, 2, 1,0,1,2,3,...} We denote the set of positive integers modulo n as

More information

SOLUTIONS Math 345 Homework 6 10/11/2017. Exercise 23. (a) Solve the following congruences: (i) x (mod 12) Answer. We have

SOLUTIONS Math 345 Homework 6 10/11/2017. Exercise 23. (a) Solve the following congruences: (i) x (mod 12) Answer. We have Exercise 23. (a) Solve the following congruences: (i) x 101 7 (mod 12) Answer. We have φ(12) = #{1, 5, 7, 11}. Since gcd(7, 12) = 1, we must have gcd(x, 12) = 1. So 1 12 x φ(12) = x 4. Therefore 7 12 x

More information

All variables a, b, n, etc are integers unless otherwise stated. Each part of a problem is worth 5 points.

All variables a, b, n, etc are integers unless otherwise stated. Each part of a problem is worth 5 points. Math 152, Problem Set 2 solutions (2018-01-24) All variables a, b, n, etc are integers unless otherwise stated. Each part of a problem is worth 5 points. 1. Let us look at the following equation: x 5 1

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

Rings and modular arithmetic

Rings and modular arithmetic Chapter 8 Rings and modular arithmetic So far, we have been working with just one operation at a time. But standard number systems, such as Z, have two operations + and which interact. It is useful to

More information

CSC B36 Additional Notes sample induction and well-ordering proofs. c Nick Cheng

CSC B36 Additional Notes sample induction and well-ordering proofs. c Nick Cheng CSC B36 Additional Notes sample induction and well-ordering proofs c Nick Cheng Introduction We present examples of induction proofs here in hope that they can be used as models when you write your own

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

Proofs. Methods of Proof Divisibility Floor and Ceiling Contradiction & Contrapositive Euclidean Algorithm. Reading (Epp s textbook)

Proofs. Methods of Proof Divisibility Floor and Ceiling Contradiction & Contrapositive Euclidean Algorithm. Reading (Epp s textbook) Proofs Methods of Proof Divisibility Floor and Ceiling Contradiction & Contrapositive Euclidean Algorithm Reading (Epp s textbook) 4.3 4.8 1 Divisibility The notation d n is read d divides n. Symbolically,

More information

Chapter 9 Basic Number Theory for Public Key Cryptography. WANG YANG

Chapter 9 Basic Number Theory for Public Key Cryptography. WANG YANG Chapter 9 Basic Number Theory for Public Key Cryptography WANG YANG wyang@njnet.edu.cn Content GCD and Euclid s Algorithm Modular Arithmetic Modular Exponentiation Discrete Logarithms GCD and Euclid s

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

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

Practice Final Solutions

Practice Final Solutions Practice Final Solutions 1. True or false: (a) If a is a sum of three squares, and b is a sum of three squares, then so is ab. False: Consider a 14, b 2. (b) No number of the form 4 m (8n + 7) can be written

More information

k, then n = p2α 1 1 pα k

k, then n = p2α 1 1 pα k Powers of Integers An integer n is a perfect square if n = m for some integer m. Taking into account the prime factorization, if m = p α 1 1 pα k k, then n = pα 1 1 p α k k. That is, n is a perfect square

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

Perfect Numbers in ACL2

Perfect Numbers in ACL2 Perfect Numbers in ACL2 John Cowles Ruben Gamboa University of Wyoming perfect number n: n is a positive integer n equals the sum of all positive integer proper divisors of n. k is proper divisor of n

More information

On the number of semi-primitive roots modulo n

On the number of semi-primitive roots modulo n Notes on Number Theory and Discrete Mathematics ISSN 1310 5132 Vol. 21, 2015, No., 8 55 On the number of semi-primitive roots modulo n Pinkimani Goswami 1 and Madan Mohan Singh 2 1 Department of Mathematics,

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

MATH 506: INTRODUCTION TO NUMBER THEORY, SPRING Introduction. Kronecker: God created the natural numbers. Everything else is man s handiwork.

MATH 506: INTRODUCTION TO NUMBER THEORY, SPRING Introduction. Kronecker: God created the natural numbers. Everything else is man s handiwork. MATH 506: INTRODUCTION TO NUMBER THEORY, SPRING 2013 TODD COCHRANE N = Natural Numbers: 1, 2, 3, 4, 5, 6,.... 1. Introduction Kronecker: God created the natural numbers. Everything else is man s handiwork.

More information

Zsigmondy s Theorem. Lola Thompson. August 11, Dartmouth College. Lola Thompson (Dartmouth College) Zsigmondy s Theorem August 11, / 1

Zsigmondy s Theorem. Lola Thompson. August 11, Dartmouth College. Lola Thompson (Dartmouth College) Zsigmondy s Theorem August 11, / 1 Zsigmondy s Theorem Lola Thompson Dartmouth College August 11, 2009 Lola Thompson (Dartmouth College) Zsigmondy s Theorem August 11, 2009 1 / 1 Introduction Definition o(a modp) := the multiplicative order

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

On Exponentially Perfect Numbers Relatively Prime to 15

On Exponentially Perfect Numbers Relatively Prime to 15 On Exponentially Perfect Numbers Relatively Prime to 15 by Joseph F. Kolenick Submitted in Partial Fulfillment of the Requirements for the Degree of Master of Science in the Mathematics Program YOUNGSTOWN

More information

MATH 140B - HW 5 SOLUTIONS

MATH 140B - HW 5 SOLUTIONS MATH 140B - HW 5 SOLUTIONS Problem 1 (WR Ch 7 #8). If I (x) = { 0 (x 0), 1 (x > 0), if {x n } is a sequence of distinct points of (a,b), and if c n converges, prove that the series f (x) = c n I (x x n

More information

a the relation arb is defined if and only if = 2 k, k

a the relation arb is defined if and only if = 2 k, k DISCRETE MATHEMATICS Past Paper Questions in Number Theory 1. Prove that 3k + 2 and 5k + 3, k are relatively prime. (Total 6 marks) 2. (a) Given that the integers m and n are such that 3 (m 2 + n 2 ),

More information

Blankits and Covers Finding Cover with an Arbitrarily Large Lowest Modulus

Blankits and Covers Finding Cover with an Arbitrarily Large Lowest Modulus Blankits and Covers Finding Cover with an Arbitrarily Large Lowest Modulus Amina Dozier, Charles Fahringer, Martin Harrison, Jeremy Lyle Dr. Neil Calkin, Dr. Kevin James, Dr. Dave Penniston July 13, 2006

More information

Olympiad Number Theory Through Challenging Problems

Olympiad Number Theory Through Challenging Problems Olympiad Number Theory Justin Stevens Page 1 Olympiad Number Theory Through Challenging Problems Authors Justin Stevens Editor and L A TEX Manager David Altizio Dedicated to my sister. Justin Contents

More information

HW2 Solutions Problem 1: 2.22 Find the sign and inverse of the permutation shown in the book (and below).

HW2 Solutions Problem 1: 2.22 Find the sign and inverse of the permutation shown in the book (and below). Teddy Einstein Math 430 HW Solutions Problem 1:. Find the sign and inverse of the permutation shown in the book (and below). Proof. Its disjoint cycle decomposition is: (19)(8)(37)(46) which immediately

More information