Number Theory and Graph Theory

Similar documents
Number Theory and Graph Theory. Prime numbers and congruences.

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

Number Theory and Graph Theory

Ch 4.2 Divisibility Properties

Division Algorithm B1 Introduction to the Division Algorithm (Procedure) quotient remainder

MATH 271 Summer 2016 Practice problem solutions Week 1

Chapter 1 A Survey of Divisibility 14

Math /Foundations of Algebra/Fall 2017 Foundations of the Foundations: Proofs

Answers (1) A) 36 = - - = Now, we can divide the numbers as shown below. For example : 4 = 2, 2 4 = -2, -2-4 = -2, 2-4 = 2.

Introduction Integers. Discrete Mathematics Andrei Bulatov

Long division for integers

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

Module 1. Integers, Induction, and Recurrences

Chapter 3: Polynomial and Rational Functions

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

More Polynomial Equations Section 6.4

cse547, math547 DISCRETE MATHEMATICS Professor Anita Wasilewska

MATH 215 Final. M4. For all a, b in Z, a b = b a.

M381 Number Theory 2004 Page 1

MATH FINAL EXAM REVIEW HINTS

CSCE 222 Discrete Structures for Computing. Proofs. Dr. Hyunyoung Lee. !!!!! Based on slides by Andreas Klappenecker

1. (16 points) Circle T if the corresponding statement is True or F if it is False.

Proof by Induction. Andreas Klappenecker

EDULABZ INTERNATIONAL NUMBER SYSTEM

Name CMSC203 Fall2008 Exam 2 Solution Key Show All Work!!! Page (16 points) Circle T if the corresponding statement is True or F if it is False.

ZEROS OF POLYNOMIAL FUNCTIONS ALL I HAVE TO KNOW ABOUT POLYNOMIAL FUNCTIONS

Downloaded from

C241 Homework Assignment 7

Solutions I.N. Herstein- Second Edition

Chapter 1 : The language of mathematics.

1. (a) q = 4, r = 1. (b) q = 0, r = 0. (c) q = 5, r = (a) q = 9, r = 3. (b) q = 15, r = 17. (c) q = 117, r = 11.

3 The fundamentals: Algorithms, the integers, and matrices

Introduction to Number Theory

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

Divisibility = 16, = 9, = 2, = 5. (Negative!)

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

) = 1, ) = 2, and o( [ 11]

CSE 215: Foundations of Computer Science Recitation Exercises Set #5 Stony Brook University. Name: ID#: Section #: Score: / 4

Chapter 1. Greatest common divisor. 1.1 The division theorem. In the beginning, there are the natural numbers 0, 1, 2, 3, 4,...,

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

Multiplying and dividing integers Student Activity Sheet 2; use with Exploring Patterns of multiplying and dividing integers

CSE 20: Discrete Mathematics

Ma/CS 6a Class 2: Congruences

More Examples of Proofs

Direct Proof MAT231. Fall Transition to Higher Mathematics. MAT231 (Transition to Higher Math) Direct Proof Fall / 24

1. (a) q = 4, r = 1. (b) q = 0, r = 0. (c) q = 5, r = (a) q = 9, r = 3. (b) q = 15, r = 17. (c) q = 117, r = 11.

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

2 Lecture 2: Logical statements and proof by contradiction Lecture 10: More on Permutations, Group Homomorphisms 31

Solutions Manual for Homework Sets Math 401. Dr Vignon S. Oussa

Moreover this binary operation satisfies the following properties

A Level. A Level Mathematics. Proof by Contradiction (Answers) AQA, Edexcel, OCR. Name: Total Marks:

CS1800: Mathematical Induction. Professor Kevin Gold

a + b = b + a and a b = b a. (a + b) + c = a + (b + c) and (a b) c = a (b c). a (b + c) = a b + a c and (a + b) c = a c + b c.

Properties of the Integers

Class 7 Integers. Answer the questions. Choose correct answer(s) from the given choices. Fill in the blanks

4 Number Theory and Cryptography

ON DIRICHLET S CONJECTURE ON RELATIVE CLASS NUMBER ONE

Foundations of Discrete Mathematics

Chapter 1. Pigeonhole Principle

Chapter 2 Formulas and Definitions:

A number that can be written as, where p and q are integers and q Number.

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

2x 1 7. A linear congruence in modular arithmetic is an equation of the form. Why is the solution a set of integers rather than a unique integer?

Ma/CS 6a Class 1. Course Details

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

Math 109 September 1, 2016

MATH10040: Numbers and Functions Homework 1: Solutions

Notes on arithmetic. 1. Representation in base B

Any Wizard of Oz fans? Discrete Math Basics. Outline. Sets. Set Operations. Sets. Dorothy: How does one get to the Emerald City?

WORKSHEET ON NUMBERS, MATH 215 FALL. We start our study of numbers with the integers: N = {1, 2, 3,...}

Understand the formal definitions of quotient and remainder.

We want to show P (n) is true for all integers

1 Overview and revision

Divisibility of Natural Numbers

CHAPTER 8: EXPLORING R

Unit 2 Rational Functionals Exercises MHF 4UI Page 1

Introduction to Number Theory. The study of the integers

IVA S STUDY GUIDE FOR THE DISCRETE FINAL EXAM - SELECTED SOLUTIONS. 1. Combinatorics

1. multiplication is commutative and associative;

CHAPTER 4: EXPLORING Z

Mathematics 228(Q1), Assignment 2 Solutions

1 Lecture 1 (1/5/2009)

1 Lecture 1 (1/5/2009)

Chapter 5. Number Theory. 5.1 Base b representations

REVIEW Chapter 1 The Real Number System

Definition: Let S and T be sets. A binary relation on SxT is any subset of SxT. A binary relation on S is any subset of SxS.

Introduction to Decision Sciences Lecture 10

Name (please print) Mathematics Final Examination December 14, 2005 I. (4)

Mid-Chapter Quiz: Lessons 2-1 through 2-3

CS Foundations of Computing

4 Powers of an Element; Cyclic Groups

Mathematical Induction Assignments

CS 210 Foundations of Computer Science

PRIME NUMBERS YANKI LEKILI

CHAPTER 3. Number Theory

USA Mathematical Talent Search Round 3 Solutions Year 20 Academic Year

4.3 Division of Polynomials

Mathematical Induction

CSE 1400 Applied Discrete Mathematics Proofs

Bell Quiz 2-3. Determine the end behavior of the graph using limit notation. Find a function with the given zeros , 2. 5 pts possible.

Transcription:

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 AND ITS PROPERTIES 2 Module-2: Properties of division of integers and Division algorithm Objectives Division and its properties. Division Algorithm and its applications. 1 Division and its Properties Definition 1.1. Let a,b Z and a 0. Then a is said to divide b if there is an integer k such that b = ak. We denote it by a b and a b means that a does not divide b. Remark 1.2. a b is a statement, for example 2 6 is true, and 6 2 is false. Where as 6 2 is a number equal to 3. Following properties are easy to verify, hence we state them without proof. Theorem 1.3 (Few properties of division). Let a, b, and d be integers. Then, the following statements hold: Reflexive property: a a (every integer divides itself). Transitivity property: d a and a b = d b. Linearity Property: d a and d b = d an + bm for all n and m. That is if d a,b, then d divides every integer linear combination of a and b. Cancellation Property: ad an and a 0 = d n. Multiplication Property: d n = ad an.

2 DIVISION ALGORITHM 3 1 and 1 divides every integer: 1 n, 1 n n Z. 1 and 1 are divisible by 1 and 1 only: n 1 = n = ±1. Another equivalent way of stating the above two properties is: 1 and 1 are the only invertible elements in Z. Every number divides zero: d 0 d Z. Comparison Property: If d and n are positive and d n then d n. 2 Division Algorithm One of the important application of WOP is the division algorithm. Suppose an integer a is divided by an integer b 0. Then we get a unique quotient q and a unique remainder r, where the remainder satisfies the condition 0 r < b. Here a is the dividend and b the divisor. This is just saying another way that either a is multiple of b or a lies between two multiples of b. qb a (q + 1)b This is formally stated as follows. Theorem 2.1 (Division Algorithm). Let a Z, b Z \ {0}. Then there exists unique q,r Z such that a = bq + r, where 0 r < b. Proof. Existence: First we prove the result when b is positive i,e., b 1. Consider the set S = {a bn n Z}. That is S = {a,a ± b,a ± 2b,a ± 3b,...,}. It is clear that S contains infinitely many integers. Further, when n = a we have a b( a ) = a + b a a + a 0. Thus, S contains non negative integers.

2 DIVISION ALGORITHM 4 Let S = S (N {0}). Then, by the Well-ordering principle S has a least element, say r. Now we have r S S, hence there exists a q Z such that r = a bq or a = bq+r. And also from definition of S, we have 0 r. Now we will show that r < b. Suppose r b, then 0 r b = a bq b = a b(q+1) S and r b < r (as b 1) which is a contradiction as r is the least element in S. Uniqueness: Let q 1,q 2,r 1,r 2 Z such that a = bq 1 + r 1 = bq 2 + r 2, where 0 r 1 < b and 0 r 2 < b. claim: r 1 = r 2 and q 1 = q 2 Suppose r 1 r 2. Then r 1 r 2 {0 b,1 b,2 b,...}, as r 1 r 2 = b(q 2 q 1 ). Thus, b divides r 1 r 2 and 0 r 1 r 2 r 1 < b. Which is possible only if r 1 r 2 = 0 and hence, q 1 q 2 = 0. If b is negative, then b is positive, hence there exists q,r Z such that a = ( b)q + r = b( q) + r, where 0 r < b. 2.1 Few applications of Division Algorithm b=2: Let a be any integer. Then, by division algorithm a = bq + r where r = 0 or r = 1. That is, the only possible remainders are r = 0 or r = 1. When r = 0, we have a = 2q, called an even integer. When r = 1, a = 2q + 1, called an odd integer. b=3: Then, the possible remainders are r = 0 or 1 or 2. Consequently, every integer can be expressed as 3q or 3q + 1 or 3q + 2. In other words, Z = {3q q Z} {3q + 1 q Z} {3q + 2 q Z}.

2 DIVISION ALGORITHM 5 b=4: We have Z = {4q q Z} {4q + 1 q Z} {4q + 2 q Z} {4q + 3 q Z}. The advantage of division algorithm is that it allows us to prove assertions about all the integers by considering only a finite number of cases. For example, Let a be any integer. Then a = 2q or a = 2q + 1 so that a 2 = 4k or a 2 = 4k + 1. In other words, square of an integer can not be of the form 4k + 2 or 4k + 3. Similarly, one can prove that a square odd integer must have the form 8k + 1, for some integer k. Proof. Note that every odd integer has one of the forms 8k + 1 or 8k + 3 or 8k + 5 or 8k + 7. In each case, it can be easily verified that their square has the form 8q + 1. Problem 2.2. 1. No integer in the following sequence is a perfect square {11,111,1111,11111,...}. Proof. We already know that the square of any integer is either of the form 4r or 4r + 1. An arbitrary number of the form 1111...1111 = 1111...1108+3 and 4 divides 1111...1108. Thus, all the numbers are of the form 4k + 3. Hence, they cannot be perfect squares. 2. Show that each term of the sequence 16,1156,111556,11115556,... is a perfect square. Proof. Let t n be its n th term. Then t n 1 = R n 10 n + 5R n = R n (10 n + 5), where R k = 10k 1 9. Note that R k is a positive integer for all k N. t n = R n 10 n + 5R n + 1 = R n (9R n + 1) + 5R n + 1 = 9R 2 n + 6R n + 1 = (3R n + 1) 2

2 DIVISION ALGORITHM 6 3. For n 1. Show that n(n+1)(2n+1) 6 is an integer. Proof. If n=6k, then n(n + 1)(2n + 1) = 6k(6k + 1)(12k + 1). If n=6k+1, then n(n+1)(2n+1) = (6k +1)(6k +2)(12k +3) = 6(6k +1)(3k +1)(4k +1). If n=6k+2, then n(n+1)(2n+1) = (6k +2)(6k +3)(12k +5) = 6(3k +1)(2k +1)(12k +5). If n=6k+3, then n(n+1)(2n+1) = (6k +3)(6k +4)(12k +7) = 6(2k +1)(3k +2)(12k +7). If n=6k+4, then n(n+1)(2n+1) = (6k +4)(6k +5)(12k +9) = 6(3k +2)(6k +5)(4k +3). If n=6k+5, then n(n + 1)(2n + 1) = 6(6k + 5)(k + 1)(12k + 11). Theorem 2.3 (Pigeonhole Principle). If m pigeons are assigned to n pigeonholes, where m > n, then at least two pigeons must occupy the same pigeonhole. Proof. (by contradiction) Suppose the given conclusion is false, that is, no two pigeons occupy the same pigeonhole. Then every pigeon must occupy a distinct pigeonhole, so n m, which is a contradiction. Thus, two or more pigeons must occupy the same pigeonhole. Example 2.4. Let n be an integer 2. Suppose n + 1 integers are selected randomly. Prove that the difference of two of them is divisible by n. Proof. Let q be the quotient and r the remainder when an integer a is divided by n. Then, by division algorithm, a = nq + r, where 0 r < n. The n + 1 integers yield n + 1 remainders (pigeons), but there are only n possible remainders (pigeonholes). Therefore, by the pigeonhole principle, two of the remainders must be equal. Let x and y be the corresponding integers. Then x = nq 1 + r and y = nq 2 + r for some quotients q 1 and q 2. Therefore, x y = (nq 1 + r) (nq 2 + r) = n(q 1 q 2 ). Thus, x y is divisible by n.