Some multiplicative arithmetical functions

Size: px
Start display at page:

Download "Some multiplicative arithmetical functions"

Transcription

1 Some multiplicative arithmetical functions an invitation to number theory K. N. Raghavan knr/ IMSc, Chennai August 203

2 Standard form of prime factorization of a number; GCD and LCM STANDARD FORM AS A PRODUCT OF PRIMES: GCD AND LCM As we all know well, every positive integer is uniquely a product of primes. Given a positive integer n, we can write: n = p r q s or, alternatively, n = p r p r k k Here we assume tacitly that p, q,... are distinct primes and that r, s,... are positive (sometimes only non-negative) integers; in the latter case, that p, p 2,... are distinct primes and that r, r 2,... are positive (sometimes only non-negative) integers. Such an expression for n is said to be in standard form. If m = p r q s and n = p r q s are in standard form where the exponents are assumed to be non-negative then the GCD or HCF of m and n, denoted (m, n), and the LCM of m and n are given by (m, n) = HCF of m and n = p min(r,r ) q min(s,s ) LCM of m and n = p max(r,r ) q max(s,s ) Since {r, r } = {min(r, r ), max(r, r )}, {s, s } = {min(s, s ), max(s, s )},..., it follows that m n = their HCF their LCM.

3 The functions τ and σ THE FUNCTIONS τ(n) AND σ(n) Let n = p r p r 2 2 be in standard form. Then the number of divisors τ(n) of n is (r + )(r 2 + ), for the standard form of any divisor is p r p r 2 2 with 0 r r, 0 r 2 r 2,..., and there is a one-to-one correspondence between divisors and the choices (r, r 2,...). the sum of the divisors σ(n) is ( + p + + p r )( + p p r 2 2 ) = p r + p pr2+ 2 p 2 To justify the above formula, recall how to sum a geometric series. Writing S = + p + p p r, we have: p S = p + p p r + p r + p r+ S = + p + p p r + p r so that ps S = + p r+ and S = (p r+ )/(p ).

4 Definition of multiplicative arithmetical functions MULTIPLICATIVE ARITHMETICAL FUNCTIONS We ve just seen that if n = p r p r 2 2 is in standard form, then τ(n) = (r + )(r 2 + ) σ(n) = pr + p pr2+ 2 p 2 A function (say, taking real values) on positive integers is called an arithmetical function; an arithmetical function f is called multiplicative if f (mn) = f (m)f (n) whenever m and n are coprime (i.e., relatively prime). The functions τ and σ just defined are multiplicative arithmetical functions. Indeed, if m = p r p r 2 2 and n = q s q s 2 2 are the standard forms for coprime integers m and n, then p r p r 2 2 q s q s 2 2 is the standard form of mn.

5 perfect numbers defined; even perfect numbers PERFECT NUMBERS A positive integer n is called perfect if the sum σ(n) of its divisors equals 2n. For example, 6 ( = 2) and 28 ( = 56). Suppose n is an even perfect number. Write n = 2 k m with m odd and k. We have σ(n) = σ(2 k )σ(m) = (2 k+ )σ(m) Since σ(n) = 2n, we get: (2 k+ )σ(m) = 2 k+ m. Thus 2 k+ divides m. Put l := m/(2 k+ ), so that m = (2 k+ )l and σ(m) = 2 k+ l. If l >, then m has at least 3 distinct divisors,, l, and m; σ(m) + m + l = + (2 k+ )l + l = + 2 k+ l > 2 k+ l = σ(m) But this is a contradiction. So l =, which means that m = 2 k+ and σ(m) = 2 k+ ; since σ(m) = m +, we conclude that m = 2 k+ is a prime. Thus the even perfect numbers are precisely those of the form n = 2 k (2 k+ ) with 2 k+ a prime so

6 Even perfect numbers EVEN PERFECT NUMBERS We ve just seen that the even perfect numbers are precisely those of type n = 2 p (2 p ) with p an integer such that 2 p a prime. The observation is due to the great mathematician Leonhard Euler ( ). For 2 p to be a prime, it is necessary that p be prime: for, if p = rs, then 2 p = 2 rs = (2 r )(2 r(s ) + 2 r(s 2) r + ) So to generate even perfect numbers, we must take p to be prime and check if 2 p is prime. For the values 2, 3, 5, 7,, 3, 7, 9, 23, 29 of p, the respective values of 2 p are: 3, 7, 3, 27, 2047 = 23 89, 89, 307, , , Thus the first few even perfect numbers are: 2 3 = 6, 4 7 = 28, = 496, = 828, =

7 Mersenne primes and perfect numbers MERSENNE PRIMES AND PERFECT NUMBERS A prime number of the form 2 p is called a Mersenne prime after a certain Frenchman Marin Mersenne who lived in the 7th Century. As we just saw, in order that 2 p be prime, it is necessary that p be prime. But the primality of p is by no means sufficient: 2 = 2047 = 23 89, for example. We know precious little about Mersenne primes: It is not known if there are infinitely many Mersenne primes. The total number of known Mersenne primes is 48 (the latest being discovered in Janurary 203! It has 7,425,70 digits!). It is not even known whether 2 p is composite for infinitely many primes p. As to perfect numbers, our knowledge of them is equally thin: Since the known number of Mersenne primes is 48, it follows that the known number of even perfect numbers is also 48. We do not know even a single odd perfect number. Nor do we know that they do not exist.

8 Primality testing PRIMALITY TESTING: THE AKS TEST As you can see, it would help, in the search for Mersenne primes, to be able to tell quickly whether a given large number (with thousands of digits or even larger) is prime. This question of whether there is a quick test for primality is a fundamental one and was open for a long time (although efficient algorithms were known to check primality of numbers of the form 2 p with p prime). Screenshot of Wikipedia page:

9 Some open problems SOME OPEN PROBLEMS A similar test for whether or not a number is square-free (that is, whether the square of any prime divides it) is not known. For this and many other simply stated open problems in mathematics, one could see the video of a lecture by Joseph Oesterlé on matsciencechannel YouTube: Some simple open problems in Mathematics. Whether there are infinitely many prime pairs that are 2 apart, like: 3, 5 5, 7, 3 7, 9 29, 3 is a very famous problem called the twin prime problem which has been open for several hundred years and towards which there has been spectacular recent progress (by Yitang Zhang, April 203). from the NY times of May 20, 203

10 The functions µ and φ THE MÖBIUS FUNCTION µ AND THE EULER TOTIENT FUNCTION φ The Möbius function µ(n) of a positive integer n = p r p r k k in standard form with all exponents r,..., r k assumed to be positive is defined to be 0 if at least one of the exponents r,... r k is 2 ( ) k otherwise (that is, if either r =... = r k =, or if k = 0, i.e., n = ) It is easily seen to be multiplicative. Its usefulness will soon become clear. The Euler totient function φ(n) of a positive integer n is the number of integers among,..., n that are coprime to n. We take φ() = (by definition, if you wish). We will presently show that for n = p r p r k k in standard form with r,..., r k all > 0, In other words, φ(n) = n ( p ) ( p k ) φ(n) = n p pk = (p )p r (p k )p r k k p p k It follows immediately from the formula above for φ that it is multiplicative.

11 Proof of the formula for φ PROOF BY INCLUSION-EXCLUSION OF THE FORMULA FOR φ If d n, then there are n/d integers from among,..., n that divisible by d: namely, d, 2d, 3d,..., (n/d)d = n. Suppose that n = p k is a prime power. To compute φ(n) we need only delete all multiples of p from,..., n, and count how many remain. Since the number of these multiples is n/p = p k, we get φ(p k ) = p k p k = p k (p ) = p k ( p ) Now suppose n = p r p r 2 2 has two prime divisors p and p 2. To compute φ(n), we must now delete all multiples of p and also all multiples of p 2 from,..., n, and count how many remain. The number of multiples of p here is n/p ; the number of multiples of p 2 is n/p 2. Are there numbers that are multiples of both p and p 2? Yes, of course. They are precisely those that are multiples of p p 2, and their number is n/p p 2. We therefore get φ(n) = φ(p r p r 2 2 ) = n n p n p 2 + n p p 2 = n( p p 2 + p p 2 ) = n( p )( p 2 )

12 The inclusion-exclusion principle formulated PROOF BY INCLUSION-EXCLUSION (CONTINUED) Now suppose n = 30 = The red, blue, and green circles in the picture consist respectively of the multiples of 2, 3, and 5. Those integers from,..., 30 that are relatively prime to 30 lie outside all three circles. Thus φ(30) = 8. The priniciple of inclusion exclusion : let S = S 0 be a set, and S,..., S k be subsets. Then the cardinality of the complement of the union of the subsets is: k (S \ (S S k )) = ( ) j S i... S ij j=0 In case k = 3, for example, we get: i <...<i j k S\(S S 2 S 3) = S ( S + S 2 + S 3 ) + ( S S 2 + S S 3 + S 2 S 3 ) S S 2 S 3

13 Proof of the inclusion-exclusion principle PROOF OF THE INCLUSION-EXCLUSION PRINCIPLE J. J. Sylvester (84 897) The justification for the principle of inclusion exclusion is this. Consider the contribution of a given element, say s, of the set S to the expression on the right hand side. If s does not belong to any of the subsets S,..., S k, then it contributes only to S and to nothing else, so its total contribution is. Now suppose that s belongs to some of the subsets, say m of them, namely S l,..., S lm. Then s contributes to 2 m terms on the right: those with j m and i,..., i j chosen from l,..., l m. Since there are ( ) m j of such choices, the total contribution is k j=0 ( )j( ) m j = ( ) m = 0. This finishes the justification.

14 Proof of the formula of φ by inclusion-exclusion PROOF BY INCLUSION-EXCLUSION (CONTINUED) We now give the formal proof of the following formula for φ(n), when n = p r p r k k is in standard form with r,..., r k all positive: φ(n) = φ(p r p r k k ) = n ( ) ( ) = (p )p r (p k )p r k k p P k Apply the inclusion-exclusion priniciple with S = {,..., n} and subsets S,..., S k, where S j consists of all those elements of S that are multiples of p j. If an element of S has a common factor with n, then at least one of the primes p,..., p k divide it. Thus φ(n) counts the cardinality of the complement in S of the union S S k. The intersection S i S ij consists of simultaneous multiples of p i,..., p ij ; since the p i are mutually relatively prime, this intersection consists of precisely of the multiples of p i p ij. The cardinality of S i S ij is thus n/p i p ij. Plugging this into the formula inclusion-exclusion formula, we get φ(n) = k ( ) j n k = n ( ( ) j ) = n ( ) ( ) p i p ij p i p ij p p j j=0 j=0

15 New multiplicative functions from old OTHER MULTIPLICATIVE FUNCTIONS We have so far defined four multiplicative functions: τ, σ, µ, and φ. These are by no means all. In fact, there are infinitely many of them: for example, n n α for any real number α is mutliplicative; moreover, the value of a multiplicative function on prime powers determines it, but these values can be fixed arbitrarily without any restriction. Given an arithmetical function f, we may define another one f as follows: f (n) = d n f (d). If f is multiplicative, then so is f. Indeed, if m and n are coprime, and D, E, and F the sets of divisors respectively of m, n, and mn, then D E F given by (d, e) de is a bijection. Thus f (mn) = f (d) = f (d d 2) = ( f (d )) ( f (d 2)) = f (m) f (n) d mn d m d 2 n d m d2 n If c denotes the constant function with value (that maps every positive integer to ), then c (n) = d n c (d) = d n = τ(n). If ι is the identity function (that maps every positive integer to itself), then ι(n) = d n ι(d) = d n d = σ(n).

16 µ and φ TWO MORE COMPUTATIONS We claim that µ =, where (n) is zero for all n except () =. Proof: Since µ is multiplicative, so is µ. We clearly have µ() = µ() = (from the definition of µ). Thus we need only show that µ(p k ) = 0 for every prime p with k positive. Again from the definition of µ, we have µ(p k ) = 0 j k µ(pj ). But µ(p j ) 0 only when j = 0 and j =. In the former case it is and in the latter it is. Thus µ(p k ) = 0 when k is positive. Let us compute φ. Since φ is multiplicative (by our formula), so is φ. It is thus enough to compute φ on a prime power p k. As is easily seen, φ(p j ) = p j p j for j > 0. So φ(p k ) = φ() + φ(p) + φ(p 2 ) + + φ(p k ) + φ(p k ) = + (p ) + (p 2 p) + + (p k p k ) = p k. This proves that φ = ι, the identity function. Summary of our computations: c = τ, ι = σ, µ =, φ = ι.

17 Möbius inversion formula THE MÖBIUS INVERSION FORMULA The Möbius inversion formula gives an answer to the following natural question: suppose that f is an arithmetical function; given f, can you determine f? If so, how to do it? Answer: f (n) = d n f (d)µ(n/d) = µ(d) f (n/d) = µ(d ) f (d 2) d n d d 2 =n For the proof, expand the right hand side by substituting for f : µ(d) f (n/d) = µ(d)( f (e)) = f (e)( µ(d)) = d n d n e (n/d) e n d (n/e) e n f (e) µ(n/e) But, as we just saw, µ =, which means that µ(n/e) is non-zero only for e = n in which case it is. Thus the last summation in the above display reduces to f (n), and the Möbius inversion is proved.

18 Convolution product MÖBIUS INVERSION REORGANIZED: CONVOLUTION PRODUCT To better organize the idea of Möbius inversion, we introduce the following convolution product on arithmetical functions: f g (n) = f (d)g(n/d) = f (d )g(d 2) d n d d 2 =n f = f c (where c is the function that takes value everywhere). Indeed, f c (n) = d n f (d)c (n/d) = d n f (d) = f (n). The convolution product is commutative and associative. It admits an identity, namely the function that takes value at and 0 elsewhere: f = f = f. (Routine exercise) If f and g are multiplicative, so is f g. On the one hand, µ c = c µ = µ from the first item above; on the other, µ =, as seen on an earlier slide. Thus c and µ are inverses of each other with respect to convolution. The Möbius inversion formula can now be written as: f = f µ, and its proof as: f µ = (f c ) µ = f (c µ) = f µ = f = f

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

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

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

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

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

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

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

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

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

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

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

Number Theory and Graph Theory. Arithmetic functions and roots of unity 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 E-mail: satya8118@gmail.com

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

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

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

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

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

Solutions to Practice Final

Solutions to Practice Final s to Practice Final 1. (a) What is φ(0 100 ) where φ is Euler s φ-function? (b) Find an integer x such that 140x 1 (mod 01). Hint: gcd(140, 01) = 7. (a) φ(0 100 ) = φ(4 100 5 100 ) = φ( 00 5 100 ) = (

More information

Definition 6.1 (p.277) A positive integer n is prime when n > 1 and the only positive divisors are 1 and n. Alternatively

Definition 6.1 (p.277) A positive integer n is prime when n > 1 and the only positive divisors are 1 and n. Alternatively 6 Prime Numbers Part VI of PJE 6.1 Fundamental Results Definition 6.1 (p.277) A positive integer n is prime when n > 1 and the only positive divisors are 1 and n. Alternatively D (p) = { p 1 1 p}. Otherwise

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

Final Exam Review. 2. Let A = {, { }}. What is the cardinality of A? Is

Final Exam Review. 2. Let A = {, { }}. What is the cardinality of A? Is 1. Describe the elements of the set (Z Q) R N. Is this set countable or uncountable? Solution: The set is equal to {(x, y) x Z, y N} = Z N. Since the Cartesian product of two denumerable sets is denumerable,

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

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

Intermediate Math Circles February 14, 2018 Contest Prep: Number Theory

Intermediate Math Circles February 14, 2018 Contest Prep: Number Theory Intermediate Math Circles February 14, 2018 Contest Prep: Number Theory Part 1: Prime Factorization A prime number is an integer greater than 1 whose only positive divisors are 1 and itself. An integer

More information

not to be republished NCERT REAL NUMBERS CHAPTER 1 (A) Main Concepts and Results

not to be republished NCERT REAL NUMBERS CHAPTER 1 (A) Main Concepts and Results REAL NUMBERS CHAPTER 1 (A) Main Concepts and Results Euclid s Division Lemma : Given two positive integers a and b, there exist unique integers q and r satisfying a = bq + r, 0 r < b. Euclid s Division

More information

1 Basic Combinatorics

1 Basic Combinatorics 1 Basic Combinatorics 1.1 Sets and sequences Sets. A set is an unordered collection of distinct objects. The objects are called elements of the set. We use braces to denote a set, for example, the set

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

CS 2336 Discrete Mathematics

CS 2336 Discrete Mathematics CS 2336 Discrete Mathematics Lecture 9 Sets, Functions, and Relations: Part I 1 What is a Set? Set Operations Identities Cardinality of a Set Outline Finite and Infinite Sets Countable and Uncountable

More information

Prime Numbers. Prime Numbers. Ramesh Sreekantan ISI, Bangalore. December 1, 2014

Prime Numbers. Prime Numbers. Ramesh Sreekantan ISI, Bangalore. December 1, 2014 Prime Numbers Prime Numbers Ramesh Sreekantan ISI, Bangalore December 1, 2014 Introduction - Prime Numbers Prime numbers are the numbers 2,3,5,7... These are natural numbers which cannot be divided by

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

Prof. Ila Varma HW 8 Solutions MATH 109. A B, h(i) := g(i n) if i > n. h : Z + f((i + 1)/2) if i is odd, g(i/2) if i is even.

Prof. Ila Varma HW 8 Solutions MATH 109. A B, h(i) := g(i n) if i > n. h : Z + f((i + 1)/2) if i is odd, g(i/2) if i is even. 1. Show that if A and B are countable, then A B is also countable. Hence, prove by contradiction, that if X is uncountable and a subset A is countable, then X A is uncountable. Solution: Suppose A and

More information

SEVENTH EDITION and EXPANDED SEVENTH EDITION

SEVENTH EDITION and EXPANDED SEVENTH EDITION SEVENTH EDITION and EXPANDED SEVENTH EDITION Slide 5-1 Chapter 5 Number Theory and the Real Number System 5.1 Number Theory Number Theory The study of numbers and their properties. The numbers we use to

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

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

1. Algebra 1.7. Prime numbers

1. Algebra 1.7. Prime numbers 1. ALGEBRA 30 1. Algebra 1.7. Prime numbers Definition Let n Z, with n 2. If n is not a prime number, then n is called a composite number. We look for a way to test if a given positive integer is prime

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

Executive Assessment. Executive Assessment Math Review. Section 1.0, Arithmetic, includes the following topics:

Executive Assessment. Executive Assessment Math Review. Section 1.0, Arithmetic, includes the following topics: Executive Assessment Math Review Although the following provides a review of some of the mathematical concepts of arithmetic and algebra, it is not intended to be a textbook. You should use this chapter

More information

Number Theory and Group Theoryfor Public-Key Cryptography

Number Theory and Group Theoryfor Public-Key Cryptography Number Theory and Group Theory for Public-Key Cryptography TDA352, DIT250 Wissam Aoudi Chalmers University of Technology November 21, 2017 Wissam Aoudi Number Theory and Group Theoryfor Public-Key Cryptography

More information

Small gaps between prime numbers

Small gaps between prime numbers Small gaps between prime numbers Yitang Zhang University of California @ Santa Barbara Mathematics Department University of California, Santa Barbara April 20, 2016 Yitang Zhang (UCSB) Small gaps between

More information

CPSC 467b: Cryptography and Computer Security

CPSC 467b: Cryptography and Computer Security CPSC 467b: Cryptography and Computer Security Michael J. Fischer Lecture 8 February 1, 2012 CPSC 467b, Lecture 8 1/42 Number Theory Needed for RSA Z n : The integers mod n Modular arithmetic GCD Relatively

More information

Chapter-2 SETS In Mathematics, Set theory was developed by George Cantor ( ).

Chapter-2 SETS In Mathematics, Set theory was developed by George Cantor ( ). Chapter-2 SETS In Mathematics, Set theory was developed by George Cantor (1845 1918). Set: A well defined collections of objects is called a Set. Well defined means that (i) (ii) All the objects in the

More information

Corollary 4.2 (Pepin s Test, 1877). Let F k = 2 2k + 1, the kth Fermat number, where k 1. Then F k is prime iff 3 F k 1

Corollary 4.2 (Pepin s Test, 1877). Let F k = 2 2k + 1, the kth Fermat number, where k 1. Then F k is prime iff 3 F k 1 4. Primality testing 4.1. Introduction. Factorisation is concerned with the problem of developing efficient algorithms to express a given positive integer n > 1 as a product of powers of distinct primes.

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

Math 319 Problem Set #2 Solution 14 February 2002

Math 319 Problem Set #2 Solution 14 February 2002 Math 39 Problem Set # Solution 4 February 00. (.3, problem 8) Let n be a positive integer, and let r be the integer obtained by removing the last digit from n and then subtracting two times the digit ust

More information

Sets. We discuss an informal (naive) set theory as needed in Computer Science. It was introduced by G. Cantor in the second half of the nineteenth

Sets. We discuss an informal (naive) set theory as needed in Computer Science. It was introduced by G. Cantor in the second half of the nineteenth Sets We discuss an informal (naive) set theory as needed in Computer Science. It was introduced by G. Cantor in the second half of the nineteenth century. Most students have seen sets before. This is intended

More information

I(n) = ( ) f g(n) = d n

I(n) = ( ) f g(n) = d n 9 Arithmetic functions Definition 91 A function f : N C is called an arithmetic function Some examles of arithmetic functions include: 1 the identity function In { 1 if n 1, 0 if n > 1; 2 the constant

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

SIX PROOFS OF THE INFINITUDE OF PRIMES

SIX PROOFS OF THE INFINITUDE OF PRIMES SIX PROOFS OF THE INFINITUDE OF PRIMES ALDEN MATHIEU 1. Introduction The question of how many primes exist dates back to at least ancient Greece, when Euclid proved the infinitude of primes (circa 300

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

Week 2: Sequences and Series

Week 2: Sequences and Series QF0: Quantitative Finance August 29, 207 Week 2: Sequences and Series Facilitator: Christopher Ting AY 207/208 Mathematicians have tried in vain to this day to discover some order in the sequence of prime

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

Basic counting techniques. Periklis A. Papakonstantinou Rutgers Business School

Basic counting techniques. Periklis A. Papakonstantinou Rutgers Business School Basic counting techniques Periklis A. Papakonstantinou Rutgers Business School i LECTURE NOTES IN Elementary counting methods Periklis A. Papakonstantinou MSIS, Rutgers Business School ALL RIGHTS RESERVED

More information

On the Cardinality of Mersenne Primes

On the Cardinality of Mersenne Primes On the Cardinality of Mersenne Primes Garimella Rama Murthy, Associate Professor, International Institute of Information Technology (IIIT), Gachibowli, Hyderabad-32,AP,INDIA ABSTRACT In this research paper,

More information

Exam 2 Review Chapters 4-5

Exam 2 Review Chapters 4-5 Math 365 Lecture Notes S. Nite 8/18/2012 Page 1 of 9 Integers and Number Theory Exam 2 Review Chapters 4-5 Divisibility Theorem 4-1 If d a, n I, then d (a n) Theorem 4-2 If d a, and d b, then d (a+b).

More information

Part IA. Numbers and Sets. Year

Part IA. Numbers and Sets. Year Part IA Year 2017 2016 2015 2014 2013 2012 2011 2010 2009 2008 2007 2006 2005 2004 2003 2002 2001 2017 19 Paper 4, Section I 1D (a) Show that for all positive integers z and n, either z 2n 0 (mod 3) or

More information

Necklaces, periodic points and permutation representations

Necklaces, periodic points and permutation representations Necklaces, periodic points and permutation representations Fermat s little theorem Somnath Basu, Anindita Bose, Sumit Sinha & Pankaj Vishe Published in Resonance, November 2001, P.18-26. One of the most

More information

MATH10040: Chapter 0 Mathematics, Logic and Reasoning

MATH10040: Chapter 0 Mathematics, Logic and Reasoning MATH10040: Chapter 0 Mathematics, Logic and Reasoning 1. What is Mathematics? There is no definitive answer to this question. 1 Indeed, the answer given by a 21st-century mathematician would differ greatly

More information

Math 13, Spring 2013, Lecture B: Midterm

Math 13, Spring 2013, Lecture B: Midterm Math 13, Spring 2013, Lecture B: Midterm Name Signature UCI ID # E-mail address Each numbered problem is worth 12 points, for a total of 84 points. Present your work, especially proofs, as clearly as possible.

More information

Q 2.0.2: If it s 5:30pm now, what time will it be in 4753 hours? Q 2.0.3: Today is Wednesday. What day of the week will it be in one year from today?

Q 2.0.2: If it s 5:30pm now, what time will it be in 4753 hours? Q 2.0.3: Today is Wednesday. What day of the week will it be in one year from today? 2 Mod math Modular arithmetic is the math you do when you talk about time on a clock. For example, if it s 9 o clock right now, then it ll be 1 o clock in 4 hours. Clearly, 9 + 4 1 in general. But on a

More information

NUMBER THEORY. Anwitaman DATTA SCSE, NTU Singapore CX4024. CRYPTOGRAPHY & NETWORK SECURITY 2018, Anwitaman DATTA

NUMBER THEORY. Anwitaman DATTA SCSE, NTU Singapore CX4024. CRYPTOGRAPHY & NETWORK SECURITY 2018, Anwitaman DATTA NUMBER THEORY Anwitaman DATTA SCSE, NTU Singapore Acknowledgement: The following lecture slides are based on, and uses material from the text book Cryptography and Network Security (various eds) by William

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

18 Divisibility. and 0 r < d. Lemma Let n,d Z with d 0. If n = qd+r = q d+r with 0 r,r < d, then q = q and r = r.

18 Divisibility. and 0 r < d. Lemma Let n,d Z with d 0. If n = qd+r = q d+r with 0 r,r < d, then q = q and r = r. 118 18. DIVISIBILITY 18 Divisibility Chapter V Theory of the Integers One of the oldest surviving mathematical texts is Euclid s Elements, a collection of 13 books. This book, dating back to several hundred

More information

7. Prime Numbers Part VI of PJE

7. Prime Numbers Part VI of PJE 7. Prime Numbers Part VI of PJE 7.1 Definition (p.277) A positive integer n is prime when n > 1 and the only divisors are ±1 and +n. That is D (n) = { n 1 1 n}. Otherwise n > 1 is said to be composite.

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

Ma/CS 6a Class 4: Primality Testing

Ma/CS 6a Class 4: Primality Testing Ma/CS 6a Class 4: Primality Testing By Adam Sheffer Reminder: Euler s Totient Function Euler s totient φ(n) is defined as follows: Given n N, then φ n = x 1 x < n and GCD x, n = 1. In more words: φ n is

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

Constructions with ruler and compass

Constructions with ruler and compass Constructions with ruler and compass An application of algebra to geometry K. N. Raghavan http://www.imsc.res.in/ knr/ IMSc, Chennai July 2013 Cartesian geometry COORDINATE GEOMETRY FOLLOWING DESCARTES

More information

Introduction to Analytic Number Theory Math 531 Lecture Notes, Fall 2005

Introduction to Analytic Number Theory Math 531 Lecture Notes, Fall 2005 Introduction to Analytic Number Theory Math 53 Lecture Notes, Fall 2005 A.J. Hildebrand Department of Mathematics University of Illinois http://www.math.uiuc.edu/~hildebr/ant Version 2005.2.06 2 Contents

More information

2015 Hypatia Contest

2015 Hypatia Contest The CENTRE for EDUCATION in MATHEMATICS and COMPUTING cemc.uwaterloo.ca 015 Hypatia Contest Thursday, April 16, 015 (in North America and South America) Friday, April 17, 015 (outside of North America

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

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

NUMBERS( A group of digits, denoting a number, is called a numeral. Every digit in a numeral has two values:

NUMBERS( A group of digits, denoting a number, is called a numeral. Every digit in a numeral has two values: NUMBERS( A number is a mathematical object used to count and measure. A notational symbol that represents a number is called a numeral but in common use, the word number can mean the abstract object, the

More information

Number Theory Solutions Packet

Number Theory Solutions Packet Number Theory Solutions Pacet 1 There exist two distinct positive integers, both of which are divisors of 10 10, with sum equal to 157 What are they? Solution Suppose 157 = x + y for x and y divisors of

More information

Discrete Mathematics. Kishore Kothapalli

Discrete Mathematics. Kishore Kothapalli Discrete Mathematics Kishore Kothapalli 2 Chapter 4 Advanced Counting Techniques In the previous chapter we studied various techniques for counting and enumeration. However, there are several interesting

More information

The ranges of some familiar arithmetic functions

The ranges of some familiar arithmetic functions The ranges of some familiar arithmetic functions Max-Planck-Institut für Mathematik 2 November, 2016 Carl Pomerance, Dartmouth College Let us introduce our cast of characters: ϕ, λ, σ, s Euler s function:

More information

Adam Blank Spring 2017 CSE 311. Foundations of Computing I. * All slides are a combined effort between previous instructors of the course

Adam Blank Spring 2017 CSE 311. Foundations of Computing I. * All slides are a combined effort between previous instructors of the course Adam Blank Spring 2017 CSE 311 Foundations of Computing I * All slides are a combined effort between previous instructors of the course HW 3 De-Brief HW 3 De-Brief PROOFS! HW 3 De-Brief Proofs This is

More information

1/19 2/25 3/8 4/23 5/24 6/11 Total/110 % Please do not write in the spaces above.

1/19 2/25 3/8 4/23 5/24 6/11 Total/110 % Please do not write in the spaces above. 1/19 2/25 3/8 4/23 5/24 6/11 Total/110 % Please do not write in the spaces above. Directions: You have 50 minutes in which to complete this exam. Please make sure that you read through this entire exam

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

D-MATH Algebra I HS18 Prof. Rahul Pandharipande. Solution 1. Arithmetic, Zorn s Lemma.

D-MATH Algebra I HS18 Prof. Rahul Pandharipande. Solution 1. Arithmetic, Zorn s Lemma. D-MATH Algebra I HS18 Prof. Rahul Pandharipande Solution 1 Arithmetic, Zorn s Lemma. 1. (a) Using the Euclidean division, determine gcd(160, 399). (b) Find m 0, n 0 Z such that gcd(160, 399) = 160m 0 +

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

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

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

Some Facts from Number Theory

Some Facts from Number Theory Computer Science 52 Some Facts from Number Theory Fall Semester, 2014 These notes are adapted from a document that was prepared for a different course several years ago. They may be helpful as a summary

More information

Notes on the Point-Set Topology of R Northwestern University, Fall 2014

Notes on the Point-Set Topology of R Northwestern University, Fall 2014 Notes on the Point-Set Topology of R Northwestern University, Fall 2014 These notes give an introduction to the notions of open and closed subsets of R, which belong to the subject known as point-set topology.

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

Beautiful Mathematics

Beautiful Mathematics Beautiful Mathematics 1. Principle of Mathematical Induction The set of natural numbers is the set of positive integers {1, 2, 3,... } and is denoted by N. The Principle of Mathematical Induction is a

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

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

18.785: Analytic Number Theory, MIT, spring 2006 (K.S. Kedlaya) Dirichlet series and arithmetic functions

18.785: Analytic Number Theory, MIT, spring 2006 (K.S. Kedlaya) Dirichlet series and arithmetic functions 18.785: Analytic Number Theory, MIT, spring 2006 (K.S. Kedlaya) Dirichlet series and arithmetic functions 1 Dirichlet series The Riemann zeta function ζ is a special example of a type of series we will

More information

Intermediate Math Circles March 6, 2013 Number Theory I

Intermediate Math Circles March 6, 2013 Number Theory I What is Number Theory? Intermediate Math Circles March 6, 01 Number Theory I A branch of mathematics where mathematicians examine and study patterns found within the natural number set (positive integers).

More information

GALOIS THEORY. Contents

GALOIS THEORY. Contents GALOIS THEORY MARIUS VAN DER PUT & JAAP TOP Contents 1. Basic definitions 1 1.1. Exercises 2 2. Solving polynomial equations 2 2.1. Exercises 4 3. Galois extensions and examples 4 3.1. Exercises. 6 4.

More information

Name (print): Question 4. exercise 1.24 (compute the union, then the intersection of two sets)

Name (print): Question 4. exercise 1.24 (compute the union, then the intersection of two sets) MTH299 - Homework 1 Question 1. exercise 1.10 (compute the cardinality of a handful of finite sets) Solution. Write your answer here. Question 2. exercise 1.20 (compute the union of two sets) Question

More information

MATH 145 Algebra, Solutions to Assignment 4

MATH 145 Algebra, Solutions to Assignment 4 MATH 145 Algebra, Solutions to Assignment 4 1: a Let a 975 and b161 Find d gcda, b and find s, t Z such that as + bt d Solution: The Euclidean Algorithm gives 161 975 1 + 86, 975 86 3 + 117, 86 117 + 5,

More information

D-MATH Algebra II FS18 Prof. Marc Burger. Solution 26. Cyclotomic extensions.

D-MATH Algebra II FS18 Prof. Marc Burger. Solution 26. Cyclotomic extensions. D-MAH Algebra II FS18 Prof. Marc Burger Solution 26 Cyclotomic extensions. In the following, ϕ : Z 1 Z 0 is the Euler function ϕ(n = card ((Z/nZ. For each integer n 1, we consider the n-th cyclotomic polynomial

More information

2MA105 Algebraic Structures I

2MA105 Algebraic Structures I 2MA105 Algebraic Structures I Per-Anders Svensson http://homepage.lnu.se/staff/psvmsi/2ma105.html Lecture 12 Partially Ordered Sets Lattices Bounded Lattices Distributive Lattices Complemented Lattices

More information

Trifectas in geometric progression

Trifectas in geometric progression 189 Trifectas in geometric progression Gerry Myerson Abstract The trifecta in the 2007 Melbourne Cup was the numbers 6 12 24, a geometric progression. How many trifectas in geometric progression are there

More information

CLASS-IX MATHEMATICS. For. Pre-Foundation Course CAREER POINT

CLASS-IX MATHEMATICS. For. Pre-Foundation Course CAREER POINT CLASS-IX MATHEMATICS For Pre-Foundation Course CAREER POINT CONTENTS S. No. CHAPTERS PAGE NO. 0. Number System... 0 3 0. Polynomials... 39 53 03. Co-ordinate Geometry... 54 04. Introduction to Euclid's

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

Summary: Divisibility and Factorization

Summary: Divisibility and Factorization Summary: Divisibility and Factorization One of the main subjects considered in this chapter is divisibility of integers, and in particular the definition of the greatest common divisor Recall that we have

More information