SlideShare a Scribd company logo
Unit 4: Diophantine equations
and congruences
3 Named Puzzles
1.Mahavira’s puzzle
2.Hundred fowls puzzle
3.Monkey and coconuts puzzle
• Linear Diophantine Equations were known in ancient China and India
as applications to astronomy and riddles, so we begin our discussion
with two interesting puzzles.
• The first puzzle is due to the Indian mathematician Mahavira (ca. A.D.
850).
• Mahavira, an astronomer and mathematician at the court of King
Amoghavardana Vripatunga (814–877), was born in Mysore, India.
• Only little is known about his life. A staunch Jain by religion, he is known for
his Ganita-Sara- Sangraha, the most scholarly treatise of the time on Indian
mathematics.
• Written in nine chapters, it summarizes the body of knowledge then known
in India, in arithmetic, including zero, fractions, and the decimal system,
and geometry. It was translated from Sanskrit into English in 1912.
• 23 weary travelers entered the outskirts of a lush and beautiful forest.
• They found 63 equal heaps of plantains and seven single fruits, and
divided them equally.
• Find the number of fruits in each heap.
• Let x denote the number of plantains in a heap and y the number of
plantains received by a traveler.
• Then the total number of plantains = 63x+7
• Each traveler received y plantain
• Therefore, the total number of plantains received by the travellers =23y
• Then we get the LDE
63x + 7 = 23y
63x - 23y = -7 ----------------- eqn 1
1. Using congruences, solve Mahavira’s puzzle
We have 63x−23y=−7.
This LDE creates two linear congruences:
63x≡−7 (mod 23) −23y≡−7 (mod 63)
We solve 63x≡−7 (mod 23)
Since 63≡−6 (mod 23)
we get -6x≡−7 (mod 23) => 6x≡7 (mod 23)
Here a=6 b=7 m=23
Gcd of (a,m )where (6, 23) = 1. => d =1
We find x0 =5 is a particular solution since 30≡7 (mod 23)
The general solution is x=x0+(m/d)t =>5+23t where t belongs to Z
1. So the general solution of the congruence 63x≡−7 (mod 23) is x =
5+23t.
2. Substitute for x in the LDE and solve for y:
3. 63(5+ 23t)−23y=−7
4. 315+ 1449t −23y=−7
5. y = 14+63t
6. Thus, the general solution of the LDE is x = 5+23t, y = 14+63t, with t
an arbitrary integer.
• Another ancient riddle, called the hundred fowls puzzle, is found in
the Mathematical Classic, a book by the sixth-century Chinese
mathematician Chang Chiuchien.
If a cock is worth five coins, a hen three coins, and
three chicks together one coin, how many cocks, hens,
and chicks, totaling 100, can be bought for 100 coins?
Let x, y, and z denote the number of cocks, the number of
hens, and the number of chicks respectively.
Clearly, x, y, z ≥ 0. Then the given data yield two LDEs:
y= 100 – 7x = 25-7/4x
4
y be an integer => -7/4x must be an integer but 4 / 7
So x=4t where t is an arbitrary integer
Then y=25-7t and z=75+3t
Hence every solution to the puzzle is of the form x=4t,
y=25-7t, z=75+3t where t is an arbitrary integer.
Now to find the actual possible solutions
Since x>0, t>0 and y>0, 25-7t > 0 ie., t < 25/7 so t<3
Since z>0.75+3t >0 so t > -25 so this gives us an additional
information
So 0<t<3
|
Hence the riddle has four possible solutions
If t=0 x=0 y=25 z=75
If t=1 x=4 y=18 z=78
If t=2 x=8 y=11 z=81
If t=3 x=12 y=4 z=84
• The October 9, 1926, issue of The Saturday Evening Post carried a
fascinating puzzle by Ben AmesWilliams, titled Coconuts. It concerned
a building contractor desperate to prevent a tough competitor from
getting a lucrative contract. A shrewd employee of the contractor,
knowing their competitor’s love for recreational mathematics, gave
him a problem so intriguing that he became obsessed with solving it
and forgot to enter his bid before the deadline.
• Five sailors and a monkey are marooned on a desert island.
• During the day they gather coconuts for food.
• They decide to divide them up in the morning, but first they retire for the
night.
• While the others sleep, one sailor gets up and divides them into five equal
piles, with one left over, which he throws out for the monkey.
• He hides his share, puts the remaining coconuts together, and goes back to
sleep.
• Later a second sailor gets up, divides the pile into five equal shares with
one coconut left over, which he discards for the monkey.
• One by one the remaining sailors repeat the process. In the morning, they
divide the pile equally among them with one coconut left over, which they
throw out for the monkey.
• Find the smallest possible number of coconuts in the original pile.
1. Let ‘n’ be the number of coconuts
2. After 1st person remaining coconuts is , 4/5(n-1)
3. After 2nd person remaining coconuts is , 4/5(4/5(n-1)-1)
4. After 3rd person remaining coconuts is, 4/5( 4/5(4/5(n-1)-1)-1)
5. After 4th person remaining coconuts is, 4/5(4/5( 4/5(4/5(n-1)-1)-1)-1)
6. After 5th person remaining coconuts is, 4/5(4/5(4/5( 4/5(4/5(n-1)-1)-1)-1)-1)
• The remaining coconuts is divided into 5
Since 45, 56 are relatively prime.
e.,(45, 56) = 1, so n+4 ≡ 0 (mod 56).
Thus, for n to be a minimum, n+4 = 56 (56 =15625)
so n = 15,621

More Related Content

What's hot

Complex numbers org.ppt
Complex numbers org.pptComplex numbers org.ppt
Complex numbers org.pptOsama Tahir
 
mutually-exclusive-events.ppt
mutually-exclusive-events.pptmutually-exclusive-events.ppt
mutually-exclusive-events.pptJosephSPalileoJr
 
number theory.ppt
number theory.pptnumber theory.ppt
number theory.pptShishu
 
01_Probability of Simple Events.ppt
01_Probability of Simple Events.ppt01_Probability of Simple Events.ppt
01_Probability of Simple Events.pptRudolfJeremyAlbornoz
 
Divisibility
DivisibilityDivisibility
Divisibilitymstf mstf
 
Modular arithmetic
Modular arithmeticModular arithmetic
Modular arithmeticsangeetha s
 
Group Theory and Its Application: Beamer Presentation (PPT)
Group Theory and Its Application:   Beamer Presentation (PPT)Group Theory and Its Application:   Beamer Presentation (PPT)
Group Theory and Its Application: Beamer Presentation (PPT)SIRAJAHMAD36
 
A study on number theory and its applications
A study on number theory and its applicationsA study on number theory and its applications
A study on number theory and its applicationsItishree Dash
 
Divisibility rules (Properties of Divisibility)
Divisibility rules (Properties of Divisibility)Divisibility rules (Properties of Divisibility)
Divisibility rules (Properties of Divisibility)Tsuki Hibari
 
Application of Linear Algebra in Electrical Circuit
Application of Linear Algebra in Electrical CircuitApplication of Linear Algebra in Electrical Circuit
Application of Linear Algebra in Electrical CircuitBadruzzman Jhon
 
Exponential Rules Lesson Plan
Exponential Rules Lesson PlanExponential Rules Lesson Plan
Exponential Rules Lesson PlanMichelle Heizer
 
Mathematical Induction
Mathematical InductionMathematical Induction
Mathematical InductionEdelyn Cagas
 
Lesson Plan on Basic concept of probability
Lesson Plan on Basic concept of probabilityLesson Plan on Basic concept of probability
Lesson Plan on Basic concept of probabilityLorie Jane Letada
 
Adding and subtracting rational expressions
Adding and subtracting rational expressionsAdding and subtracting rational expressions
Adding and subtracting rational expressionsDawn Adams2
 
Lecture 2 predicates quantifiers and rules of inference
Lecture 2 predicates quantifiers and rules of inferenceLecture 2 predicates quantifiers and rules of inference
Lecture 2 predicates quantifiers and rules of inferenceasimnawaz54
 

What's hot (20)

Mathematical analysis
Mathematical analysisMathematical analysis
Mathematical analysis
 
Complex numbers org.ppt
Complex numbers org.pptComplex numbers org.ppt
Complex numbers org.ppt
 
mutually-exclusive-events.ppt
mutually-exclusive-events.pptmutually-exclusive-events.ppt
mutually-exclusive-events.ppt
 
number theory.ppt
number theory.pptnumber theory.ppt
number theory.ppt
 
01_Probability of Simple Events.ppt
01_Probability of Simple Events.ppt01_Probability of Simple Events.ppt
01_Probability of Simple Events.ppt
 
Mathematicians
MathematiciansMathematicians
Mathematicians
 
Divisibility
DivisibilityDivisibility
Divisibility
 
Modular arithmetic
Modular arithmeticModular arithmetic
Modular arithmetic
 
Group Theory and Its Application: Beamer Presentation (PPT)
Group Theory and Its Application:   Beamer Presentation (PPT)Group Theory and Its Application:   Beamer Presentation (PPT)
Group Theory and Its Application: Beamer Presentation (PPT)
 
A study on number theory and its applications
A study on number theory and its applicationsA study on number theory and its applications
A study on number theory and its applications
 
Divisibility rules (Properties of Divisibility)
Divisibility rules (Properties of Divisibility)Divisibility rules (Properties of Divisibility)
Divisibility rules (Properties of Divisibility)
 
Application of Linear Algebra in Electrical Circuit
Application of Linear Algebra in Electrical CircuitApplication of Linear Algebra in Electrical Circuit
Application of Linear Algebra in Electrical Circuit
 
Exponential Rules Lesson Plan
Exponential Rules Lesson PlanExponential Rules Lesson Plan
Exponential Rules Lesson Plan
 
Mathematics:Arithmetical Functions
Mathematics:Arithmetical FunctionsMathematics:Arithmetical Functions
Mathematics:Arithmetical Functions
 
Mathematical Induction
Mathematical InductionMathematical Induction
Mathematical Induction
 
Surds.pptx
Surds.pptxSurds.pptx
Surds.pptx
 
Lesson Plan on Basic concept of probability
Lesson Plan on Basic concept of probabilityLesson Plan on Basic concept of probability
Lesson Plan on Basic concept of probability
 
Adding and subtracting rational expressions
Adding and subtracting rational expressionsAdding and subtracting rational expressions
Adding and subtracting rational expressions
 
Chinese remainder theorem
Chinese remainder theoremChinese remainder theorem
Chinese remainder theorem
 
Lecture 2 predicates quantifiers and rules of inference
Lecture 2 predicates quantifiers and rules of inferenceLecture 2 predicates quantifiers and rules of inference
Lecture 2 predicates quantifiers and rules of inference
 

Similar to diophantine equation and congruence puzzles

Similar to diophantine equation and congruence puzzles (20)

Prakash3
Prakash3Prakash3
Prakash3
 
[Maths] arithmetic
[Maths] arithmetic[Maths] arithmetic
[Maths] arithmetic
 
Combinations and permutations(1)
Combinations and permutations(1)Combinations and permutations(1)
Combinations and permutations(1)
 
Proect
ProectProect
Proect
 
Algebra 2 01-Systems of Linear Equations and Matrices (RW 2022).pptx
Algebra 2 01-Systems of Linear Equations and Matrices (RW 2022).pptxAlgebra 2 01-Systems of Linear Equations and Matrices (RW 2022).pptx
Algebra 2 01-Systems of Linear Equations and Matrices (RW 2022).pptx
 
Algebreviewer
AlgebreviewerAlgebreviewer
Algebreviewer
 
Algebreviewer
AlgebreviewerAlgebreviewer
Algebreviewer
 
Vegam booklet converted word file
Vegam booklet   converted word fileVegam booklet   converted word file
Vegam booklet converted word file
 
September 16, 2014
September 16, 2014September 16, 2014
September 16, 2014
 
Mathematics
MathematicsMathematics
Mathematics
 
CBSE Sample Paper Mathematics Class XII - 2015
CBSE Sample Paper  Mathematics Class XII  - 2015CBSE Sample Paper  Mathematics Class XII  - 2015
CBSE Sample Paper Mathematics Class XII - 2015
 
Bhaskara ii
Bhaskara iiBhaskara ii
Bhaskara ii
 
Maths project
Maths projectMaths project
Maths project
 
class 10 chapter 1- real numbers
class 10 chapter 1- real numbersclass 10 chapter 1- real numbers
class 10 chapter 1- real numbers
 
Maths project
Maths projectMaths project
Maths project
 
Maths project
Maths projectMaths project
Maths project
 
Grade 7-Sample Questions-1.pptx
Grade 7-Sample Questions-1.pptxGrade 7-Sample Questions-1.pptx
Grade 7-Sample Questions-1.pptx
 
Real numbers ppt by jk
Real numbers ppt by jkReal numbers ppt by jk
Real numbers ppt by jk
 
Advanced s
Advanced sAdvanced s
Advanced s
 
Digital textbook
Digital textbookDigital textbook
Digital textbook
 

More from anonymous

Mobile Application Development.pptx
Mobile Application Development.pptxMobile Application Development.pptx
Mobile Application Development.pptxanonymous
 
Application layer
Application layer Application layer
Application layer anonymous
 
Hydrocarbons.pptx
 Hydrocarbons.pptx Hydrocarbons.pptx
Hydrocarbons.pptxanonymous
 
aldehydes , ketones & carboxylic acids.pptx
aldehydes , ketones & carboxylic acids.pptxaldehydes , ketones & carboxylic acids.pptx
aldehydes , ketones & carboxylic acids.pptxanonymous
 
STEPPER MOTOR .pptx
STEPPER MOTOR .pptxSTEPPER MOTOR .pptx
STEPPER MOTOR .pptxanonymous
 
22.chemical control & coordination in one shot.pptx
22.chemical control & coordination in one shot.pptx22.chemical control & coordination in one shot.pptx
22.chemical control & coordination in one shot.pptxanonymous
 
Mineral nutrition.pptx
Mineral nutrition.pptxMineral nutrition.pptx
Mineral nutrition.pptxanonymous
 
Photosynthesis in plants.pptx
Photosynthesis in plants.pptxPhotosynthesis in plants.pptx
Photosynthesis in plants.pptxanonymous
 

More from anonymous (8)

Mobile Application Development.pptx
Mobile Application Development.pptxMobile Application Development.pptx
Mobile Application Development.pptx
 
Application layer
Application layer Application layer
Application layer
 
Hydrocarbons.pptx
 Hydrocarbons.pptx Hydrocarbons.pptx
Hydrocarbons.pptx
 
aldehydes , ketones & carboxylic acids.pptx
aldehydes , ketones & carboxylic acids.pptxaldehydes , ketones & carboxylic acids.pptx
aldehydes , ketones & carboxylic acids.pptx
 
STEPPER MOTOR .pptx
STEPPER MOTOR .pptxSTEPPER MOTOR .pptx
STEPPER MOTOR .pptx
 
22.chemical control & coordination in one shot.pptx
22.chemical control & coordination in one shot.pptx22.chemical control & coordination in one shot.pptx
22.chemical control & coordination in one shot.pptx
 
Mineral nutrition.pptx
Mineral nutrition.pptxMineral nutrition.pptx
Mineral nutrition.pptx
 
Photosynthesis in plants.pptx
Photosynthesis in plants.pptxPhotosynthesis in plants.pptx
Photosynthesis in plants.pptx
 

Recently uploaded

Digital Signal Processing Lecture notes n.pdf
Digital Signal Processing Lecture notes n.pdfDigital Signal Processing Lecture notes n.pdf
Digital Signal Processing Lecture notes n.pdfAbrahamGadissa
 
Online blood donation management system project.pdf
Online blood donation management system project.pdfOnline blood donation management system project.pdf
Online blood donation management system project.pdfKamal Acharya
 
Construction method of steel structure space frame .pptx
Construction method of steel structure space frame .pptxConstruction method of steel structure space frame .pptx
Construction method of steel structure space frame .pptxwendy cai
 
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdfA CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdfKamal Acharya
 
The Ultimate Guide to External Floating Roofs for Oil Storage Tanks.docx
The Ultimate Guide to External Floating Roofs for Oil Storage Tanks.docxThe Ultimate Guide to External Floating Roofs for Oil Storage Tanks.docx
The Ultimate Guide to External Floating Roofs for Oil Storage Tanks.docxCenterEnamel
 
Laundry management system project report.pdf
Laundry management system project report.pdfLaundry management system project report.pdf
Laundry management system project report.pdfKamal Acharya
 
Scaling in conventional MOSFET for constant electric field and constant voltage
Scaling in conventional MOSFET for constant electric field and constant voltageScaling in conventional MOSFET for constant electric field and constant voltage
Scaling in conventional MOSFET for constant electric field and constant voltageRCC Institute of Information Technology
 
Introduction to Machine Learning Unit-4 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-4 Notes for II-II Mechanical EngineeringIntroduction to Machine Learning Unit-4 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-4 Notes for II-II Mechanical EngineeringC Sai Kiran
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdfKamal Acharya
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfPipe Restoration Solutions
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdfAhmedHussein950959
 
Natalia Rutkowska - BIM School Course in Kraków
Natalia Rutkowska - BIM School Course in KrakówNatalia Rutkowska - BIM School Course in Kraków
Natalia Rutkowska - BIM School Course in Krakówbim.edu.pl
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationRobbie Edward Sayers
 
Explosives Industry manufacturing process.pdf
Explosives Industry manufacturing process.pdfExplosives Industry manufacturing process.pdf
Explosives Industry manufacturing process.pdf884710SadaqatAli
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdfKamal Acharya
 
RESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdf
RESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdfRESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdf
RESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdfKamal Acharya
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industriesMuhammadTufail242431
 
fundamentals of drawing and isometric and orthographic projection
fundamentals of drawing and isometric and orthographic projectionfundamentals of drawing and isometric and orthographic projection
fundamentals of drawing and isometric and orthographic projectionjeevanprasad8
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234AafreenAbuthahir2
 

Recently uploaded (20)

Digital Signal Processing Lecture notes n.pdf
Digital Signal Processing Lecture notes n.pdfDigital Signal Processing Lecture notes n.pdf
Digital Signal Processing Lecture notes n.pdf
 
Online blood donation management system project.pdf
Online blood donation management system project.pdfOnline blood donation management system project.pdf
Online blood donation management system project.pdf
 
Construction method of steel structure space frame .pptx
Construction method of steel structure space frame .pptxConstruction method of steel structure space frame .pptx
Construction method of steel structure space frame .pptx
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdfA CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
 
The Ultimate Guide to External Floating Roofs for Oil Storage Tanks.docx
The Ultimate Guide to External Floating Roofs for Oil Storage Tanks.docxThe Ultimate Guide to External Floating Roofs for Oil Storage Tanks.docx
The Ultimate Guide to External Floating Roofs for Oil Storage Tanks.docx
 
Laundry management system project report.pdf
Laundry management system project report.pdfLaundry management system project report.pdf
Laundry management system project report.pdf
 
Scaling in conventional MOSFET for constant electric field and constant voltage
Scaling in conventional MOSFET for constant electric field and constant voltageScaling in conventional MOSFET for constant electric field and constant voltage
Scaling in conventional MOSFET for constant electric field and constant voltage
 
Introduction to Machine Learning Unit-4 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-4 Notes for II-II Mechanical EngineeringIntroduction to Machine Learning Unit-4 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-4 Notes for II-II Mechanical Engineering
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
Natalia Rutkowska - BIM School Course in Kraków
Natalia Rutkowska - BIM School Course in KrakówNatalia Rutkowska - BIM School Course in Kraków
Natalia Rutkowska - BIM School Course in Kraków
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
Explosives Industry manufacturing process.pdf
Explosives Industry manufacturing process.pdfExplosives Industry manufacturing process.pdf
Explosives Industry manufacturing process.pdf
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
 
RESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdf
RESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdfRESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdf
RESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdf
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
 
fundamentals of drawing and isometric and orthographic projection
fundamentals of drawing and isometric and orthographic projectionfundamentals of drawing and isometric and orthographic projection
fundamentals of drawing and isometric and orthographic projection
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 

diophantine equation and congruence puzzles

  • 1. Unit 4: Diophantine equations and congruences 3 Named Puzzles 1.Mahavira’s puzzle 2.Hundred fowls puzzle 3.Monkey and coconuts puzzle
  • 2. • Linear Diophantine Equations were known in ancient China and India as applications to astronomy and riddles, so we begin our discussion with two interesting puzzles.
  • 3. • The first puzzle is due to the Indian mathematician Mahavira (ca. A.D. 850).
  • 4. • Mahavira, an astronomer and mathematician at the court of King Amoghavardana Vripatunga (814–877), was born in Mysore, India. • Only little is known about his life. A staunch Jain by religion, he is known for his Ganita-Sara- Sangraha, the most scholarly treatise of the time on Indian mathematics. • Written in nine chapters, it summarizes the body of knowledge then known in India, in arithmetic, including zero, fractions, and the decimal system, and geometry. It was translated from Sanskrit into English in 1912.
  • 5.
  • 6. • 23 weary travelers entered the outskirts of a lush and beautiful forest. • They found 63 equal heaps of plantains and seven single fruits, and divided them equally. • Find the number of fruits in each heap.
  • 7. • Let x denote the number of plantains in a heap and y the number of plantains received by a traveler. • Then the total number of plantains = 63x+7 • Each traveler received y plantain • Therefore, the total number of plantains received by the travellers =23y • Then we get the LDE 63x + 7 = 23y 63x - 23y = -7 ----------------- eqn 1
  • 8. 1. Using congruences, solve Mahavira’s puzzle We have 63x−23y=−7. This LDE creates two linear congruences: 63x≡−7 (mod 23) −23y≡−7 (mod 63) We solve 63x≡−7 (mod 23) Since 63≡−6 (mod 23) we get -6x≡−7 (mod 23) => 6x≡7 (mod 23) Here a=6 b=7 m=23 Gcd of (a,m )where (6, 23) = 1. => d =1 We find x0 =5 is a particular solution since 30≡7 (mod 23) The general solution is x=x0+(m/d)t =>5+23t where t belongs to Z
  • 9. 1. So the general solution of the congruence 63x≡−7 (mod 23) is x = 5+23t. 2. Substitute for x in the LDE and solve for y: 3. 63(5+ 23t)−23y=−7 4. 315+ 1449t −23y=−7 5. y = 14+63t 6. Thus, the general solution of the LDE is x = 5+23t, y = 14+63t, with t an arbitrary integer.
  • 10.
  • 11.
  • 12. • Another ancient riddle, called the hundred fowls puzzle, is found in the Mathematical Classic, a book by the sixth-century Chinese mathematician Chang Chiuchien.
  • 13. If a cock is worth five coins, a hen three coins, and three chicks together one coin, how many cocks, hens, and chicks, totaling 100, can be bought for 100 coins?
  • 14. Let x, y, and z denote the number of cocks, the number of hens, and the number of chicks respectively. Clearly, x, y, z ≥ 0. Then the given data yield two LDEs:
  • 15. y= 100 – 7x = 25-7/4x 4 y be an integer => -7/4x must be an integer but 4 / 7 So x=4t where t is an arbitrary integer Then y=25-7t and z=75+3t Hence every solution to the puzzle is of the form x=4t, y=25-7t, z=75+3t where t is an arbitrary integer. Now to find the actual possible solutions Since x>0, t>0 and y>0, 25-7t > 0 ie., t < 25/7 so t<3 Since z>0.75+3t >0 so t > -25 so this gives us an additional information So 0<t<3 |
  • 16. Hence the riddle has four possible solutions If t=0 x=0 y=25 z=75 If t=1 x=4 y=18 z=78 If t=2 x=8 y=11 z=81 If t=3 x=12 y=4 z=84
  • 17. • The October 9, 1926, issue of The Saturday Evening Post carried a fascinating puzzle by Ben AmesWilliams, titled Coconuts. It concerned a building contractor desperate to prevent a tough competitor from getting a lucrative contract. A shrewd employee of the contractor, knowing their competitor’s love for recreational mathematics, gave him a problem so intriguing that he became obsessed with solving it and forgot to enter his bid before the deadline.
  • 18.
  • 19. • Five sailors and a monkey are marooned on a desert island. • During the day they gather coconuts for food. • They decide to divide them up in the morning, but first they retire for the night. • While the others sleep, one sailor gets up and divides them into five equal piles, with one left over, which he throws out for the monkey. • He hides his share, puts the remaining coconuts together, and goes back to sleep. • Later a second sailor gets up, divides the pile into five equal shares with one coconut left over, which he discards for the monkey. • One by one the remaining sailors repeat the process. In the morning, they divide the pile equally among them with one coconut left over, which they throw out for the monkey. • Find the smallest possible number of coconuts in the original pile.
  • 20. 1. Let ‘n’ be the number of coconuts 2. After 1st person remaining coconuts is , 4/5(n-1) 3. After 2nd person remaining coconuts is , 4/5(4/5(n-1)-1) 4. After 3rd person remaining coconuts is, 4/5( 4/5(4/5(n-1)-1)-1) 5. After 4th person remaining coconuts is, 4/5(4/5( 4/5(4/5(n-1)-1)-1)-1) 6. After 5th person remaining coconuts is, 4/5(4/5(4/5( 4/5(4/5(n-1)-1)-1)-1)-1)
  • 21. • The remaining coconuts is divided into 5
  • 22.
  • 23. Since 45, 56 are relatively prime. e.,(45, 56) = 1, so n+4 ≡ 0 (mod 56). Thus, for n to be a minimum, n+4 = 56 (56 =15625) so n = 15,621