SlideShare a Scribd company logo
1
Introduction toIntroduction to NumberNumber TheoryTheory
Number theory is aboutNumber theory is about integersintegers and theirand their
properties.properties.
We will start with the basic principles ofWe will start with the basic principles of
1.1.Divisibility,Divisibility,
2.2.Greatest common divisors,Greatest common divisors,
3.3.Least common multiples,Least common multiples,
4.4.Modular arithmetic.Modular 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
of b and that b is aof b 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 | 63 | 6 andand 3 | 93 | 9, so, so 3 | 153 | 15..
 If a | b, then a | bc for all integers cIf a | b, then a | bc for all integers c
Example:Example: 5 | 105 | 10, so, so 5 | 205 | 20,, 5 | 305 | 30,, 5 | 405 | 40, …, …
 If a | b and b | c, then a | cIf a | b and b | c, then a | c
Example:Example: 4 | 84 | 8 andand 8 | 248 | 24,, soso 4 | 244 | 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 remainder.is called the remainder.
6
The Division AlgorithmThe Division Algorithm
Example:Example:
When we divideWhen we divide 1717 byby 55, we have, we have
17 = 517 = 5⋅⋅3 + 2.3 + 2.
• 1717 is the dividend,is the dividend,
• 55 is the divisor,is the divisor,
• 33 is called the quotient, andis called the quotient, and
• 22 is called the remainder.is called the remainder.
7
The Division AlgorithmThe Division Algorithm
Another example:Another example:
What happens when we divideWhat happens when we divide -11-11 byby 33 ??
Note that the remainder cannot be negative.Note that the remainder cannot be negative.
-11 = 3-11 = 3⋅⋅(-4) + 1.(-4) + 1.
• -11-11 is the dividend,is the dividend,
• 33 is the divisor,is the divisor,
• -4-4 is called the quotient, andis called the quotient, and
• 11 is called the remainder.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 positive integerintegers a and b is the smallest positive integer
that is divisible by both a and b.that is divisible by both a and b.
We denote the least common multiple of a and bWe denote the least common multiple of a and b
by lcm(a, 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 a positive integer.Let a be an integer and m be a positive integer.
We denote byWe denote by a mod ma mod m the remainder when a isthe remainder when a is
divided by m.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

Lesson 2 2 Adding And Subtracting Rational Numbers
Lesson 2 2 Adding And Subtracting Rational NumbersLesson 2 2 Adding And Subtracting Rational Numbers
Lesson 2 2 Adding And Subtracting Rational Numbershamlet1988
 
real numbers
real numbersreal numbers
real numbers
Swapnil Yadav
 
Lesson 2 3 Multiplying Rational Numbers
Lesson 2 3 Multiplying Rational NumbersLesson 2 3 Multiplying Rational Numbers
Lesson 2 3 Multiplying Rational Numbershamlet1988
 
Algebraic expressions
Algebraic expressionsAlgebraic expressions
Algebraic expressions
gopaal gopaal
 
Presentation binomial theorem
Presentation binomial theoremPresentation binomial theorem
Presentation binomial theorem
Christopher Chibangu
 
3 2 adding and subtracting rational numbers lesson
3 2 adding and subtracting rational numbers lesson3 2 adding and subtracting rational numbers lesson
3 2 adding and subtracting rational numbers lessongwilson8786
 
Quantitative questions
Quantitative questionsQuantitative questions
Quantitative questions
Kirthan S Holla
 
L10 binomial theorem
L10 binomial theoremL10 binomial theorem
L10 binomial theoremisaiah777
 
Introduction to Proportion
Introduction to ProportionIntroduction to Proportion
Introduction to Proportion
FellowBuddy.com
 
Math for 800 03 real numbers
Math for 800   03 real numbersMath for 800   03 real numbers
Math for 800 03 real numbers
Edwin Lapuerta
 
1.2 simplifying expressions and order of operations
1.2 simplifying expressions and order of operations1.2 simplifying expressions and order of operations
1.2 simplifying expressions and order of operationsHuron School District
 
Mathematics assignment
Mathematics assignmentMathematics assignment
Mathematics assignment
Aditya Chowdhary
 
Quant02. Equations
Quant02. EquationsQuant02. Equations
Quant02. Equations
CPT Success
 
Basic Math
Basic MathBasic Math
Basic Math
Ronaldo Ongotan
 
Highest common factor and lowest common multiple
Highest common factor and lowest common multipleHighest common factor and lowest common multiple
Highest common factor and lowest common multiple
Xasan Khaliif
 
HCF and LCM
HCF and LCMHCF and LCM
HCF and LCM
PRIYANKA ABRAHAM
 
The binomial theorem
The binomial theoremThe binomial theorem
The binomial theorem
MaxTorresdey
 
Basic math 1
Basic math 1Basic math 1
Basic math 1
Sahidul Islam
 

What's hot (20)

Lesson 2 2 Adding And Subtracting Rational Numbers
Lesson 2 2 Adding And Subtracting Rational NumbersLesson 2 2 Adding And Subtracting Rational Numbers
Lesson 2 2 Adding And Subtracting Rational Numbers
 
real numbers
real numbersreal numbers
real numbers
 
Lesson 2 3 Multiplying Rational Numbers
Lesson 2 3 Multiplying Rational NumbersLesson 2 3 Multiplying Rational Numbers
Lesson 2 3 Multiplying Rational Numbers
 
12 chap
12 chap12 chap
12 chap
 
Algebraic expressions
Algebraic expressionsAlgebraic expressions
Algebraic expressions
 
Presentation binomial theorem
Presentation binomial theoremPresentation binomial theorem
Presentation binomial theorem
 
3 2 adding and subtracting rational numbers lesson
3 2 adding and subtracting rational numbers lesson3 2 adding and subtracting rational numbers lesson
3 2 adding and subtracting rational numbers lesson
 
Quantitative questions
Quantitative questionsQuantitative questions
Quantitative questions
 
L10 binomial theorem
L10 binomial theoremL10 binomial theorem
L10 binomial theorem
 
Introduction to Proportion
Introduction to ProportionIntroduction to Proportion
Introduction to Proportion
 
Math for 800 03 real numbers
Math for 800   03 real numbersMath for 800   03 real numbers
Math for 800 03 real numbers
 
1.2 simplifying expressions and order of operations
1.2 simplifying expressions and order of operations1.2 simplifying expressions and order of operations
1.2 simplifying expressions and order of operations
 
Mathematics assignment
Mathematics assignmentMathematics assignment
Mathematics assignment
 
Quant02. Equations
Quant02. EquationsQuant02. Equations
Quant02. Equations
 
Basic Math
Basic MathBasic Math
Basic Math
 
Highest common factor and lowest common multiple
Highest common factor and lowest common multipleHighest common factor and lowest common multiple
Highest common factor and lowest common multiple
 
HCF and LCM
HCF and LCMHCF and LCM
HCF and LCM
 
The binomial theorem
The binomial theoremThe binomial theorem
The binomial theorem
 
Basic math 1
Basic math 1Basic math 1
Basic math 1
 
Questions on ratio and proportion
Questions on ratio and proportion Questions on ratio and proportion
Questions on ratio and proportion
 

Similar to number theory

Number theory
Number theoryNumber theory
Number theory
Litty Cherian
 
Lecture-1.pptx
Lecture-1.pptxLecture-1.pptx
Lecture-1.pptx
NiharikaThakur32
 
DIVISIBILITY PDF.pdf
DIVISIBILITY PDF.pdfDIVISIBILITY PDF.pdf
DIVISIBILITY PDF.pdf
Marjorie Malveda
 
NumberTheory.ppt
NumberTheory.pptNumberTheory.ppt
NumberTheory.ppt
Dhandhan16
 
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
Ariel Gilbuena
 
English math dictionary
English math dictionaryEnglish math dictionary
English math dictionary
nurwa ningsih
 
BUKU ENGLIS FOR MATHEMATICS
BUKU ENGLIS FOR MATHEMATICSBUKU ENGLIS FOR MATHEMATICS
BUKU ENGLIS FOR MATHEMATICS
Hanifa Zulfitri
 
Ch4.pdf
Ch4.pdfCh4.pdf
Ch4.pdf
SnehSinha6
 
6.5 determinant x
6.5 determinant x6.5 determinant x
6.5 determinant x
math260
 
555_Spring12_topic06.ppt
555_Spring12_topic06.ppt555_Spring12_topic06.ppt
555_Spring12_topic06.ppt
SnehSinha6
 
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
vidyabhoge1
 
Lesson 1 1 properties of real numbers
Lesson 1 1 properties of real numbersLesson 1 1 properties of real numbers
Lesson 1 1 properties of real numbers
Terry Gastauer
 
Whole Numbers std 6.ppt
Whole Numbers std 6.pptWhole Numbers std 6.ppt
Whole Numbers std 6.ppt
MVHerwadkarschool
 
Maths project abhi.pptx [autosaved]
Maths project abhi.pptx [autosaved]Maths project abhi.pptx [autosaved]
Maths project abhi.pptx [autosaved]Abishek Thiagarajan
 
UNIT III.pptx
UNIT III.pptxUNIT III.pptx
UNIT III.pptx
UmeshReddy49
 
Number Theory
Number TheoryNumber Theory
Number Theory
talha khattak
 
Algebraic Fraction and Formulas
Algebraic Fraction and FormulasAlgebraic Fraction and Formulas
Algebraic Fraction and Formulas
Calvin Ieong
 

Similar to number theory (20)

Number theory
Number theoryNumber theory
Number theory
 
Lecture-1.pptx
Lecture-1.pptxLecture-1.pptx
Lecture-1.pptx
 
DIVISIBILITY PDF.pdf
DIVISIBILITY PDF.pdfDIVISIBILITY PDF.pdf
DIVISIBILITY PDF.pdf
 
NumberTheory.ppt
NumberTheory.pptNumberTheory.ppt
NumberTheory.ppt
 
1 1 number theory
1 1 number theory1 1 number theory
1 1 number theory
 
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
 
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
 
Chapter0
Chapter0Chapter0
Chapter0
 
1 1 number theory
1 1 number theory1 1 number theory
1 1 number theory
 
Ch4.pdf
Ch4.pdfCh4.pdf
Ch4.pdf
 
6.5 determinant x
6.5 determinant x6.5 determinant x
6.5 determinant x
 
555_Spring12_topic06.ppt
555_Spring12_topic06.ppt555_Spring12_topic06.ppt
555_Spring12_topic06.ppt
 
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
 
Lesson 1 1 properties of real numbers
Lesson 1 1 properties of real numbersLesson 1 1 properties of real numbers
Lesson 1 1 properties of real numbers
 
Whole Numbers std 6.ppt
Whole Numbers std 6.pptWhole Numbers std 6.ppt
Whole Numbers std 6.ppt
 
Maths project abhi.pptx [autosaved]
Maths project abhi.pptx [autosaved]Maths project abhi.pptx [autosaved]
Maths project abhi.pptx [autosaved]
 
UNIT III.pptx
UNIT III.pptxUNIT III.pptx
UNIT III.pptx
 
Number Theory
Number TheoryNumber Theory
Number Theory
 
Algebraic Fraction and Formulas
Algebraic Fraction and FormulasAlgebraic Fraction and Formulas
Algebraic Fraction and Formulas
 

Recently uploaded

Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 

Recently uploaded (20)

Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 

number theory

  • 1. 1
  • 2.
  • 3. Introduction toIntroduction to NumberNumber TheoryTheory Number theory is aboutNumber theory is about integersintegers and theirand their properties.properties. We will start with the basic principles ofWe will start with the basic principles of 1.1.Divisibility,Divisibility, 2.2.Greatest common divisors,Greatest common divisors, 3.3.Least common multiples,Least common multiples, 4.4.Modular arithmetic.Modular 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 of b and that b is aof b 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 | 63 | 6 andand 3 | 93 | 9, so, so 3 | 153 | 15..  If a | b, then a | bc for all integers cIf a | b, then a | bc for all integers c Example:Example: 5 | 105 | 10, so, so 5 | 205 | 20,, 5 | 305 | 30,, 5 | 405 | 40, …, …  If a | b and b | c, then a | cIf a | b and b | c, then a | c Example:Example: 4 | 84 | 8 andand 8 | 248 | 24,, soso 4 | 244 | 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 remainder.is called the remainder. 6
  • 7. The Division AlgorithmThe Division Algorithm Example:Example: When we divideWhen we divide 1717 byby 55, we have, we have 17 = 517 = 5⋅⋅3 + 2.3 + 2. • 1717 is the dividend,is the dividend, • 55 is the divisor,is the divisor, • 33 is called the quotient, andis called the quotient, and • 22 is called the remainder.is called the remainder. 7
  • 8. The Division AlgorithmThe Division Algorithm Another example:Another example: What happens when we divideWhat happens when we divide -11-11 byby 33 ?? Note that the remainder cannot be negative.Note that the remainder cannot be negative. -11 = 3-11 = 3⋅⋅(-4) + 1.(-4) + 1. • -11-11 is the dividend,is the dividend, • 33 is the divisor,is the divisor, • -4-4 is called the quotient, andis called the quotient, and • 11 is called the remainder.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 positive integerintegers a and b is the smallest positive integer that is divisible by both a and b.that is divisible by both a and b. We denote the least common multiple of a and bWe denote the least common multiple of a and b by lcm(a, 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 a positive integer.Let a be an integer and m be a positive integer. We denote byWe denote by a mod ma mod m the remainder when a isthe remainder when a is divided by m.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