SlideShare a Scribd company logo
1 of 13
1
Submitted by:Submitted by:
TEENA ZACHARIASTEENA ZACHARIAS
class:1BEdclass:1BEd
Option: MathematicsOption: Mathematics
Roll No:29Roll No:29
Mangalam College of EducationMangalam College of Education
Submitted to:Submitted to:
Mrs.Sijji JoseMrs.Sijji Jose
Dept. Educational technologyDept. Educational technology
Introduction toIntroduction to NumberNumber
TheoryTheory
Number theory is aboutNumber theory is about
integersintegers and their properties.and their properties.
We will start with the basicWe will start with the basic
principles ofprinciples of
1.1.Divisibility,Divisibility,
2.2.Greatest common divisors,Greatest common divisors,
3.3.Least common multiples,Least common multiples,
4.4.Modular arithmeticModular arithmetic..
3
DivisionDivision
If a and b are integers with aIf a and b are integers with a ≠≠ 0, we say0, we say
that athat a dividesdivides b if there is an integer c sob if there is an integer c so
that b = ac.that b = ac.
When a divides b we say that a is aWhen a divides b we say that a is a factorfactor ofof
b and that b is ab and that b is a multiplemultiple of a.of a.
The notationThe notation a | ba | b means that a divides b.means that a divides b.
We writeWe write a X ba X b when a does not divide b.when a does not divide b.
4
Divisibility TheoremsDivisibility Theorems
For integers a, b, and c it is true thatFor integers a, b, and c it is true that
 If a | b and a | c, then a | (b + c)If a | b and a | c, then a | (b + c)
Example:Example: 3 | 6 and 3 | 9, so 3 | 15.3 | 6 and 3 | 9, so 3 | 15.
 If a | b, then a | bc for all integers cIf a | b, then a | bc for all integers c
Example:Example: 5 | 10, so 5 | 20, 5 | 30, 5 | 40, …5 | 10, so 5 | 20, 5 | 30, 5 | 40, …
 If a | b and b | c, then a | cIf a | b and b | c, then a | c
Example:Example: 4 | 8 and 8 | 24, so 4 | 24.4 | 8 and 8 | 24, so 4 | 24.
5
The Division AlgorithmThe Division Algorithm
LetLet aa be an integer andbe an integer and dd a positive integer.a positive integer.
Then there are unique integersThen there are unique integers qq andand rr, with, with
00 ≤≤ r < dr < d, such that, such that a=dq+ra=dq+r..
In the above equation,In the above equation,
• dd is called the divisor,is called the divisor,
• aa is called the dividend,is called the dividend,
• qq is called the quotient, andis called the quotient, and
• rr is called the remainderis called the remainder..
6
The Division AlgorithmThe Division Algorithm
Example:Example:
When we divide 17 by 5, we haveWhen we divide 17 by 5, we have
17 = 517 = 5⋅⋅3 + 2.3 + 2.
• 17 is the dividend,17 is the dividend,
• 5 is the divisor,5 is the divisor,
• 3 is called the quotient, and3 is called the quotient, and
• 2 is called the remainder.2 is called the remainder.
7
The Division AlgorithmThe Division Algorithm
Another example:Another example:
What happens when we divide -11 by 3 ?What happens when we divide -11 by 3 ?
Note that the remainder cannot be negative.Note that the remainder cannot be negative.
-11 = 3-11 = 3⋅⋅(-4) + 1.(-4) + 1.
• -11 is the dividend,-11 is the dividend,
• 3 is the divisor,3 is the divisor,
• -4 is called the quotient, and-4 is called the quotient, and
• 1 is called the remainder.1 is called the remainder.
8
Greatest Common DivisorsGreatest Common Divisors
Let a and b be integers, not both zero.Let a and b be integers, not both zero.
The largest integer d such that d | a and d | b isThe largest integer d such that d | a and d | b is
called thecalled the greatest common divisorgreatest common divisor of a and b.of a and b.
The greatest common divisor of a and b is denotedThe greatest common divisor of a and b is denoted
by gcd(a, b).by gcd(a, b).
Example 1:Example 1: What is gcd(48, 72) ?What is gcd(48, 72) ?
The positive common divisors of 48 and 72 areThe positive common divisors of 48 and 72 are
1, 2, 3, 4, 6, 8, 12, 16, and 24, so gcd(48, 72) = 24.1, 2, 3, 4, 6, 8, 12, 16, and 24, so gcd(48, 72) = 24.
Example 2:Example 2: What is gcd(19, 72) ?What is gcd(19, 72) ?
The only positive common divisor of 19 and 72 isThe only positive common divisor of 19 and 72 is
1, so gcd(19, 72) = 1.1, so gcd(19, 72) = 1.
9
Least Common MultiplesLeast Common Multiples
Definition:Definition:
TheThe least common multipleleast common multiple of the positiveof the positive
integers a and b is the smallest positiveintegers a and b is the smallest positive
integer that is divisible by both a and b.integer that is divisible by both a and b.
We denote the least common multiple of aWe denote the least common multiple of a
and b by lcm(a, b).and b by lcm(a, b).
Examples:Examples:
10
lcm(3, 7) =lcm(3, 7) = 2121
lcm(4, 6) =lcm(4, 6) = 1212
lcm(5, 10) =lcm(5, 10) = 1010
GCD and LCMGCD and LCM
11
a = 60 =a = 60 = 2222
3311
5511
b = 54 =b = 54 = 2211
3333
5500
lcm(a, b) =lcm(a, b) = 2222
3333
5511
= 540= 540
gcd(a, b) =gcd(a, b) = 2211
3311
5500
= 6= 6
Theorem: ab =Theorem: ab = gcd(a,b)lcm(a,b)gcd(a,b)lcm(a,b)
Modular ArithmeticModular Arithmetic
Let a be an integer and m be aLet a be an integer and m be a
positive integer.positive integer.
We denote byWe denote by a mod ma mod m thethe
remainder when a is divided by m.remainder when a is divided by m.
Examples:Examples:
12
9 mod 4 =9 mod 4 = 11
9 mod 3 =9 mod 3 = 00
9 mod 10 =9 mod 10 = 99
-13 mod 4 =-13 mod 4 = 33
THANKS…THANKS…
13

More Related Content

What's hot

What's hot (20)

Real Numbers
Real NumbersReal Numbers
Real Numbers
 
Number theory.ppt22
Number theory.ppt22Number theory.ppt22
Number theory.ppt22
 
Real Number System
Real Number SystemReal Number System
Real Number System
 
Number theory
Number theoryNumber theory
Number theory
 
Modular arithmetic
Modular arithmeticModular arithmetic
Modular arithmetic
 
Absolute value
Absolute valueAbsolute value
Absolute value
 
Introduction to Sets
Introduction to SetsIntroduction to Sets
Introduction to Sets
 
Divisibility
DivisibilityDivisibility
Divisibility
 
Real Numbers
Real NumbersReal Numbers
Real Numbers
 
Set Theory
Set TheorySet Theory
Set Theory
 
Number theory
Number theoryNumber theory
Number theory
 
Subtracting integers
Subtracting integersSubtracting integers
Subtracting integers
 
The natural numbers
The natural numbersThe natural numbers
The natural numbers
 
Presentation on introducing whole number
Presentation on introducing whole numberPresentation on introducing whole number
Presentation on introducing whole number
 
Introduction to Positive and Negative Numbers
Introduction to Positive and Negative NumbersIntroduction to Positive and Negative Numbers
Introduction to Positive and Negative Numbers
 
Integers and Absolute Value
Integers and Absolute ValueIntegers and Absolute Value
Integers and Absolute Value
 
Divisibility rules (Properties of Divisibility)
Divisibility rules (Properties of Divisibility)Divisibility rules (Properties of Divisibility)
Divisibility rules (Properties of Divisibility)
 
History of Number Theory
History of Number TheoryHistory of Number Theory
History of Number Theory
 
Introduction to Rational numbers
Introduction to Rational numbersIntroduction to Rational numbers
Introduction to Rational numbers
 
Linear cong slide 2
Linear cong slide 2Linear cong slide 2
Linear cong slide 2
 

Similar to Number theory

NumberTheory.ppt
NumberTheory.pptNumberTheory.ppt
NumberTheory.pptDhandhan16
 
Math 7 lesson 9 division of integers
Math 7   lesson 9 division of integersMath 7   lesson 9 division of integers
Math 7 lesson 9 division of integersAriel Gilbuena
 
counting techniques
counting techniquescounting techniques
counting techniquesUnsa Shakir
 
English math dictionary
English math dictionaryEnglish math dictionary
English math dictionarynurwa ningsih
 
BUKU ENGLIS FOR MATHEMATICS
BUKU ENGLIS FOR MATHEMATICSBUKU ENGLIS FOR MATHEMATICS
BUKU ENGLIS FOR MATHEMATICSHanifa Zulfitri
 
555_Spring12_topic06.ppt
555_Spring12_topic06.ppt555_Spring12_topic06.ppt
555_Spring12_topic06.pptSnehSinha6
 
Number Theory and GCD.pdf
Number Theory and GCD.pdfNumber Theory and GCD.pdf
Number Theory and GCD.pdfRashilaShrestha
 
STANDARD 7 INTEGERS IN THIS PPT YOU CAN LEARN AND EDUCATE YOUR SELF.
STANDARD 7 INTEGERS IN THIS PPT YOU CAN LEARN AND EDUCATE YOUR SELF.STANDARD 7 INTEGERS IN THIS PPT YOU CAN LEARN AND EDUCATE YOUR SELF.
STANDARD 7 INTEGERS IN THIS PPT YOU CAN LEARN AND EDUCATE YOUR SELF.DrKirtiCLASSES
 
Chapter1.integer s.y.b.c.s
Chapter1.integer s.y.b.c.sChapter1.integer s.y.b.c.s
Chapter1.integer s.y.b.c.svidyabhoge1
 

Similar to Number theory (20)

number theory
number theorynumber theory
number theory
 
DIVISIBILITY PDF.pdf
DIVISIBILITY PDF.pdfDIVISIBILITY PDF.pdf
DIVISIBILITY PDF.pdf
 
NumberTheory.ppt
NumberTheory.pptNumberTheory.ppt
NumberTheory.ppt
 
Lecture-1.pptx
Lecture-1.pptxLecture-1.pptx
Lecture-1.pptx
 
UNIT III.pptx
UNIT III.pptxUNIT III.pptx
UNIT III.pptx
 
Math 7 lesson 9 division of integers
Math 7   lesson 9 division of integersMath 7   lesson 9 division of integers
Math 7 lesson 9 division of integers
 
Ch4.pdf
Ch4.pdfCh4.pdf
Ch4.pdf
 
counting techniques
counting techniquescounting techniques
counting techniques
 
English math dictionary
English math dictionaryEnglish math dictionary
English math dictionary
 
BUKU ENGLIS FOR MATHEMATICS
BUKU ENGLIS FOR MATHEMATICSBUKU ENGLIS FOR MATHEMATICS
BUKU ENGLIS FOR MATHEMATICS
 
GMAT Arithmetic.pptx
GMAT Arithmetic.pptxGMAT Arithmetic.pptx
GMAT Arithmetic.pptx
 
1 1 number theory
1 1 number theory1 1 number theory
1 1 number theory
 
555_Spring12_topic06.ppt
555_Spring12_topic06.ppt555_Spring12_topic06.ppt
555_Spring12_topic06.ppt
 
Chapter0
Chapter0Chapter0
Chapter0
 
Number Theory and GCD.pdf
Number Theory and GCD.pdfNumber Theory and GCD.pdf
Number Theory and GCD.pdf
 
STANDARD 7 INTEGERS IN THIS PPT YOU CAN LEARN AND EDUCATE YOUR SELF.
STANDARD 7 INTEGERS IN THIS PPT YOU CAN LEARN AND EDUCATE YOUR SELF.STANDARD 7 INTEGERS IN THIS PPT YOU CAN LEARN AND EDUCATE YOUR SELF.
STANDARD 7 INTEGERS IN THIS PPT YOU CAN LEARN AND EDUCATE YOUR SELF.
 
Number Theory
Number TheoryNumber Theory
Number Theory
 
Chapter1.integer s.y.b.c.s
Chapter1.integer s.y.b.c.sChapter1.integer s.y.b.c.s
Chapter1.integer s.y.b.c.s
 
Binomial
BinomialBinomial
Binomial
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 

More from Litty Cherian

More from Litty Cherian (7)

polynomials
polynomialspolynomials
polynomials
 
polynomials
polynomialspolynomials
polynomials
 
POLYNOMIALS
POLYNOMIALSPOLYNOMIALS
POLYNOMIALS
 
polymonials
polymonialspolymonials
polymonials
 
POLYNOMIALS
POLYNOMIALSPOLYNOMIALS
POLYNOMIALS
 
POLYNOMIALS
POLYNOMIALSPOLYNOMIALS
POLYNOMIALS
 
polynomials
polynomialspolynomials
polynomials
 

Recently uploaded

Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 

Recently uploaded (20)

Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 

Number theory

  • 1. 1
  • 2. Submitted by:Submitted by: TEENA ZACHARIASTEENA ZACHARIAS class:1BEdclass:1BEd Option: MathematicsOption: Mathematics Roll No:29Roll No:29 Mangalam College of EducationMangalam College of Education Submitted to:Submitted to: Mrs.Sijji JoseMrs.Sijji Jose Dept. Educational technologyDept. Educational technology
  • 3. Introduction toIntroduction to NumberNumber TheoryTheory Number theory is aboutNumber theory is about integersintegers and their properties.and their properties. We will start with the basicWe will start with the basic principles ofprinciples of 1.1.Divisibility,Divisibility, 2.2.Greatest common divisors,Greatest common divisors, 3.3.Least common multiples,Least common multiples, 4.4.Modular arithmeticModular arithmetic.. 3
  • 4. DivisionDivision If a and b are integers with aIf a and b are integers with a ≠≠ 0, we say0, we say that athat a dividesdivides b if there is an integer c sob if there is an integer c so that b = ac.that b = ac. When a divides b we say that a is aWhen a divides b we say that a is a factorfactor ofof b and that b is ab and that b is a multiplemultiple of a.of a. The notationThe notation a | ba | b means that a divides b.means that a divides b. We writeWe write a X ba X b when a does not divide b.when a does not divide b. 4
  • 5. Divisibility TheoremsDivisibility Theorems For integers a, b, and c it is true thatFor integers a, b, and c it is true that  If a | b and a | c, then a | (b + c)If a | b and a | c, then a | (b + c) Example:Example: 3 | 6 and 3 | 9, so 3 | 15.3 | 6 and 3 | 9, so 3 | 15.  If a | b, then a | bc for all integers cIf a | b, then a | bc for all integers c Example:Example: 5 | 10, so 5 | 20, 5 | 30, 5 | 40, …5 | 10, so 5 | 20, 5 | 30, 5 | 40, …  If a | b and b | c, then a | cIf a | b and b | c, then a | c Example:Example: 4 | 8 and 8 | 24, so 4 | 24.4 | 8 and 8 | 24, so 4 | 24. 5
  • 6. The Division AlgorithmThe Division Algorithm LetLet aa be an integer andbe an integer and dd a positive integer.a positive integer. Then there are unique integersThen there are unique integers qq andand rr, with, with 00 ≤≤ r < dr < d, such that, such that a=dq+ra=dq+r.. In the above equation,In the above equation, • dd is called the divisor,is called the divisor, • aa is called the dividend,is called the dividend, • qq is called the quotient, andis called the quotient, and • rr is called the remainderis called the remainder.. 6
  • 7. The Division AlgorithmThe Division Algorithm Example:Example: When we divide 17 by 5, we haveWhen we divide 17 by 5, we have 17 = 517 = 5⋅⋅3 + 2.3 + 2. • 17 is the dividend,17 is the dividend, • 5 is the divisor,5 is the divisor, • 3 is called the quotient, and3 is called the quotient, and • 2 is called the remainder.2 is called the remainder. 7
  • 8. The Division AlgorithmThe Division Algorithm Another example:Another example: What happens when we divide -11 by 3 ?What happens when we divide -11 by 3 ? Note that the remainder cannot be negative.Note that the remainder cannot be negative. -11 = 3-11 = 3⋅⋅(-4) + 1.(-4) + 1. • -11 is the dividend,-11 is the dividend, • 3 is the divisor,3 is the divisor, • -4 is called the quotient, and-4 is called the quotient, and • 1 is called the remainder.1 is called the remainder. 8
  • 9. Greatest Common DivisorsGreatest Common Divisors Let a and b be integers, not both zero.Let a and b be integers, not both zero. The largest integer d such that d | a and d | b isThe largest integer d such that d | a and d | b is called thecalled the greatest common divisorgreatest common divisor of a and b.of a and b. The greatest common divisor of a and b is denotedThe greatest common divisor of a and b is denoted by gcd(a, b).by gcd(a, b). Example 1:Example 1: What is gcd(48, 72) ?What is gcd(48, 72) ? The positive common divisors of 48 and 72 areThe positive common divisors of 48 and 72 are 1, 2, 3, 4, 6, 8, 12, 16, and 24, so gcd(48, 72) = 24.1, 2, 3, 4, 6, 8, 12, 16, and 24, so gcd(48, 72) = 24. Example 2:Example 2: What is gcd(19, 72) ?What is gcd(19, 72) ? The only positive common divisor of 19 and 72 isThe only positive common divisor of 19 and 72 is 1, so gcd(19, 72) = 1.1, so gcd(19, 72) = 1. 9
  • 10. Least Common MultiplesLeast Common Multiples Definition:Definition: TheThe least common multipleleast common multiple of the positiveof the positive integers a and b is the smallest positiveintegers a and b is the smallest positive integer that is divisible by both a and b.integer that is divisible by both a and b. We denote the least common multiple of aWe denote the least common multiple of a and b by lcm(a, b).and b by lcm(a, b). Examples:Examples: 10 lcm(3, 7) =lcm(3, 7) = 2121 lcm(4, 6) =lcm(4, 6) = 1212 lcm(5, 10) =lcm(5, 10) = 1010
  • 11. GCD and LCMGCD and LCM 11 a = 60 =a = 60 = 2222 3311 5511 b = 54 =b = 54 = 2211 3333 5500 lcm(a, b) =lcm(a, b) = 2222 3333 5511 = 540= 540 gcd(a, b) =gcd(a, b) = 2211 3311 5500 = 6= 6 Theorem: ab =Theorem: ab = gcd(a,b)lcm(a,b)gcd(a,b)lcm(a,b)
  • 12. Modular ArithmeticModular Arithmetic Let a be an integer and m be aLet a be an integer and m be a positive integer.positive integer. We denote byWe denote by a mod ma mod m thethe remainder when a is divided by m.remainder when a is divided by m. Examples:Examples: 12 9 mod 4 =9 mod 4 = 11 9 mod 3 =9 mod 3 = 00 9 mod 10 =9 mod 10 = 99 -13 mod 4 =-13 mod 4 = 33