SlideShare a Scribd company logo
Discrete Math Problem - Chinese Remainder Theorem:
We recently discussed the Chinese remainder theorem, and we showed an algorithm for
"decoding" the remainders of two distinct primes. For example, suppose we want to know
which number between 0 and 34 has remainder 1 when divided by 5 and 2 when divided by 7.
We begin by finding the Bezout theorem parameters that would allow multiples of 5 and 7 to add
up to 1:
5*3 + 7*(-2) = 1
Then, we multiply our two desired remainders - here, 1 and 2 - by the two terms in our Bezout
expression. The first remainder is multiplied into the second term, and the second remainder is
multiplied into the first term:
5*3*2 + 7*(-2)*1 = 30 - 14 = 16
And now we can conclude (and check!) that 16 has remainder 1 when divided by 5 and
remainder 2 when divided by 7.
Here's the question:
A Chinese general knows that his troops number somewhat above 1000, but otherwise isn't
really sure of the number. He asks them to line up in rows of 11, and finds the final "remainder"
row has 9 soldiers. He asks them to line up in rows of 13, and finds that the final "remainder"
row has 1 soldier. He asks them to line up in rows of 17, and finds 14 soldiers in the final
"remainder" row. How many soldiers are in his army?
Solution
1340

More Related Content

More from pigsleypeyno82989

Match the following terms with the definitions given below.Terms g.pdf
Match the following terms with the definitions given below.Terms g.pdfMatch the following terms with the definitions given below.Terms g.pdf
Match the following terms with the definitions given below.Terms g.pdf
pigsleypeyno82989
 
Match the associated feature to the leukocyte. very little cytoplasm.pdf
Match the associated feature to the leukocyte.  very little cytoplasm.pdfMatch the associated feature to the leukocyte.  very little cytoplasm.pdf
Match the associated feature to the leukocyte. very little cytoplasm.pdf
pigsleypeyno82989
 
In how many ways can you seat 8 students in a row so that Tom and Jo.pdf
In how many ways can you seat 8 students in a row so that Tom and Jo.pdfIn how many ways can you seat 8 students in a row so that Tom and Jo.pdf
In how many ways can you seat 8 students in a row so that Tom and Jo.pdf
pigsleypeyno82989
 
inclusion program.investment.policy.social initiative.compli.pdf
inclusion program.investment.policy.social initiative.compli.pdfinclusion program.investment.policy.social initiative.compli.pdf
inclusion program.investment.policy.social initiative.compli.pdf
pigsleypeyno82989
 
In C++ what are best practices for garbage collectionIn C++ wha.pdf
In C++ what are best practices for garbage collectionIn C++ wha.pdfIn C++ what are best practices for garbage collectionIn C++ wha.pdf
In C++ what are best practices for garbage collectionIn C++ wha.pdf
pigsleypeyno82989
 
Im confused the other people obtained a result of 16. Are we simp.pdf
Im confused the other people obtained a result of 16. Are we simp.pdfIm confused the other people obtained a result of 16. Are we simp.pdf
Im confused the other people obtained a result of 16. Are we simp.pdf
pigsleypeyno82989
 
If O2 is found in high concentration on the outside of the cella).pdf
If O2 is found in high concentration on the outside of the cella).pdfIf O2 is found in high concentration on the outside of the cella).pdf
If O2 is found in high concentration on the outside of the cella).pdf
pigsleypeyno82989
 
Describe some common money management mistakes that can cause long-t.pdf
Describe some common money management mistakes that can cause long-t.pdfDescribe some common money management mistakes that can cause long-t.pdf
Describe some common money management mistakes that can cause long-t.pdf
pigsleypeyno82989
 
how do cells transport small , non polar, hydrophobic molecules, suc.pdf
how do cells transport small , non polar, hydrophobic molecules, suc.pdfhow do cells transport small , non polar, hydrophobic molecules, suc.pdf
how do cells transport small , non polar, hydrophobic molecules, suc.pdf
pigsleypeyno82989
 
Greater than how many millimeters does the ST segment have to be to .pdf
Greater than how many millimeters does the ST segment have to be to .pdfGreater than how many millimeters does the ST segment have to be to .pdf
Greater than how many millimeters does the ST segment have to be to .pdf
pigsleypeyno82989
 
far Fie Edit View History Bookmarks Window Help roedopencampus blackb.pdf
far Fie Edit View History Bookmarks Window Help roedopencampus blackb.pdffar Fie Edit View History Bookmarks Window Help roedopencampus blackb.pdf
far Fie Edit View History Bookmarks Window Help roedopencampus blackb.pdf
pigsleypeyno82989
 
Fiber opticsSolutionSONET STS 12Synchronous Transport Sig.pdf
Fiber opticsSolutionSONET  STS 12Synchronous Transport Sig.pdfFiber opticsSolutionSONET  STS 12Synchronous Transport Sig.pdf
Fiber opticsSolutionSONET STS 12Synchronous Transport Sig.pdf
pigsleypeyno82989
 
Explain the following ASM code in detail, giving the reasons for the .pdf
Explain the following ASM code in detail, giving the reasons for the .pdfExplain the following ASM code in detail, giving the reasons for the .pdf
Explain the following ASM code in detail, giving the reasons for the .pdf
pigsleypeyno82989
 
Discuss the importance of top management commitment and the developm.pdf
Discuss the importance of top management commitment and the developm.pdfDiscuss the importance of top management commitment and the developm.pdf
Discuss the importance of top management commitment and the developm.pdf
pigsleypeyno82989
 
Describe the usage of technology by Fedex in all its sectorsSolu.pdf
Describe the usage of technology by Fedex in all its sectorsSolu.pdfDescribe the usage of technology by Fedex in all its sectorsSolu.pdf
Describe the usage of technology by Fedex in all its sectorsSolu.pdf
pigsleypeyno82989
 
Dawn Burke, director of employee relations, glanced at her online ca.pdf
Dawn Burke, director of employee relations, glanced at her online ca.pdfDawn Burke, director of employee relations, glanced at her online ca.pdf
Dawn Burke, director of employee relations, glanced at her online ca.pdf
pigsleypeyno82989
 
Consider the two mutually exclusive projects in the table below. Salv.pdf
Consider the two mutually exclusive projects in the table below. Salv.pdfConsider the two mutually exclusive projects in the table below. Salv.pdf
Consider the two mutually exclusive projects in the table below. Salv.pdf
pigsleypeyno82989
 
Choose 5 and Define Malpighian tubules, hemolymph, exoskeleton, ampu.pdf
Choose 5 and Define Malpighian tubules, hemolymph, exoskeleton, ampu.pdfChoose 5 and Define Malpighian tubules, hemolymph, exoskeleton, ampu.pdf
Choose 5 and Define Malpighian tubules, hemolymph, exoskeleton, ampu.pdf
pigsleypeyno82989
 
An urn contains 4 red balls and 6 green balls. Two balls are drawn o.pdf
An urn contains 4 red balls and 6 green balls. Two balls are drawn o.pdfAn urn contains 4 red balls and 6 green balls. Two balls are drawn o.pdf
An urn contains 4 red balls and 6 green balls. Two balls are drawn o.pdf
pigsleypeyno82989
 
A study was conducted on high school students in 2008. The research .pdf
A study was conducted on high school students in 2008. The research .pdfA study was conducted on high school students in 2008. The research .pdf
A study was conducted on high school students in 2008. The research .pdf
pigsleypeyno82989
 

More from pigsleypeyno82989 (20)

Match the following terms with the definitions given below.Terms g.pdf
Match the following terms with the definitions given below.Terms g.pdfMatch the following terms with the definitions given below.Terms g.pdf
Match the following terms with the definitions given below.Terms g.pdf
 
Match the associated feature to the leukocyte. very little cytoplasm.pdf
Match the associated feature to the leukocyte.  very little cytoplasm.pdfMatch the associated feature to the leukocyte.  very little cytoplasm.pdf
Match the associated feature to the leukocyte. very little cytoplasm.pdf
 
In how many ways can you seat 8 students in a row so that Tom and Jo.pdf
In how many ways can you seat 8 students in a row so that Tom and Jo.pdfIn how many ways can you seat 8 students in a row so that Tom and Jo.pdf
In how many ways can you seat 8 students in a row so that Tom and Jo.pdf
 
inclusion program.investment.policy.social initiative.compli.pdf
inclusion program.investment.policy.social initiative.compli.pdfinclusion program.investment.policy.social initiative.compli.pdf
inclusion program.investment.policy.social initiative.compli.pdf
 
In C++ what are best practices for garbage collectionIn C++ wha.pdf
In C++ what are best practices for garbage collectionIn C++ wha.pdfIn C++ what are best practices for garbage collectionIn C++ wha.pdf
In C++ what are best practices for garbage collectionIn C++ wha.pdf
 
Im confused the other people obtained a result of 16. Are we simp.pdf
Im confused the other people obtained a result of 16. Are we simp.pdfIm confused the other people obtained a result of 16. Are we simp.pdf
Im confused the other people obtained a result of 16. Are we simp.pdf
 
If O2 is found in high concentration on the outside of the cella).pdf
If O2 is found in high concentration on the outside of the cella).pdfIf O2 is found in high concentration on the outside of the cella).pdf
If O2 is found in high concentration on the outside of the cella).pdf
 
Describe some common money management mistakes that can cause long-t.pdf
Describe some common money management mistakes that can cause long-t.pdfDescribe some common money management mistakes that can cause long-t.pdf
Describe some common money management mistakes that can cause long-t.pdf
 
how do cells transport small , non polar, hydrophobic molecules, suc.pdf
how do cells transport small , non polar, hydrophobic molecules, suc.pdfhow do cells transport small , non polar, hydrophobic molecules, suc.pdf
how do cells transport small , non polar, hydrophobic molecules, suc.pdf
 
Greater than how many millimeters does the ST segment have to be to .pdf
Greater than how many millimeters does the ST segment have to be to .pdfGreater than how many millimeters does the ST segment have to be to .pdf
Greater than how many millimeters does the ST segment have to be to .pdf
 
far Fie Edit View History Bookmarks Window Help roedopencampus blackb.pdf
far Fie Edit View History Bookmarks Window Help roedopencampus blackb.pdffar Fie Edit View History Bookmarks Window Help roedopencampus blackb.pdf
far Fie Edit View History Bookmarks Window Help roedopencampus blackb.pdf
 
Fiber opticsSolutionSONET STS 12Synchronous Transport Sig.pdf
Fiber opticsSolutionSONET  STS 12Synchronous Transport Sig.pdfFiber opticsSolutionSONET  STS 12Synchronous Transport Sig.pdf
Fiber opticsSolutionSONET STS 12Synchronous Transport Sig.pdf
 
Explain the following ASM code in detail, giving the reasons for the .pdf
Explain the following ASM code in detail, giving the reasons for the .pdfExplain the following ASM code in detail, giving the reasons for the .pdf
Explain the following ASM code in detail, giving the reasons for the .pdf
 
Discuss the importance of top management commitment and the developm.pdf
Discuss the importance of top management commitment and the developm.pdfDiscuss the importance of top management commitment and the developm.pdf
Discuss the importance of top management commitment and the developm.pdf
 
Describe the usage of technology by Fedex in all its sectorsSolu.pdf
Describe the usage of technology by Fedex in all its sectorsSolu.pdfDescribe the usage of technology by Fedex in all its sectorsSolu.pdf
Describe the usage of technology by Fedex in all its sectorsSolu.pdf
 
Dawn Burke, director of employee relations, glanced at her online ca.pdf
Dawn Burke, director of employee relations, glanced at her online ca.pdfDawn Burke, director of employee relations, glanced at her online ca.pdf
Dawn Burke, director of employee relations, glanced at her online ca.pdf
 
Consider the two mutually exclusive projects in the table below. Salv.pdf
Consider the two mutually exclusive projects in the table below. Salv.pdfConsider the two mutually exclusive projects in the table below. Salv.pdf
Consider the two mutually exclusive projects in the table below. Salv.pdf
 
Choose 5 and Define Malpighian tubules, hemolymph, exoskeleton, ampu.pdf
Choose 5 and Define Malpighian tubules, hemolymph, exoskeleton, ampu.pdfChoose 5 and Define Malpighian tubules, hemolymph, exoskeleton, ampu.pdf
Choose 5 and Define Malpighian tubules, hemolymph, exoskeleton, ampu.pdf
 
An urn contains 4 red balls and 6 green balls. Two balls are drawn o.pdf
An urn contains 4 red balls and 6 green balls. Two balls are drawn o.pdfAn urn contains 4 red balls and 6 green balls. Two balls are drawn o.pdf
An urn contains 4 red balls and 6 green balls. Two balls are drawn o.pdf
 
A study was conducted on high school students in 2008. The research .pdf
A study was conducted on high school students in 2008. The research .pdfA study was conducted on high school students in 2008. The research .pdf
A study was conducted on high school students in 2008. The research .pdf
 

Recently uploaded

Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
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)
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
Fundacja Rozwoju Społeczeństwa Przedsiębiorczego
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
Celine George
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
Nguyen Thanh Tu Collection
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
PedroFerreira53928
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
Excellence Foundation for South Sudan
 

Recently uploaded (20)

Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 

Discrete Math Problem - Chinese Remainder TheoremWe recently disc.pdf

  • 1. Discrete Math Problem - Chinese Remainder Theorem: We recently discussed the Chinese remainder theorem, and we showed an algorithm for "decoding" the remainders of two distinct primes. For example, suppose we want to know which number between 0 and 34 has remainder 1 when divided by 5 and 2 when divided by 7. We begin by finding the Bezout theorem parameters that would allow multiples of 5 and 7 to add up to 1: 5*3 + 7*(-2) = 1 Then, we multiply our two desired remainders - here, 1 and 2 - by the two terms in our Bezout expression. The first remainder is multiplied into the second term, and the second remainder is multiplied into the first term: 5*3*2 + 7*(-2)*1 = 30 - 14 = 16 And now we can conclude (and check!) that 16 has remainder 1 when divided by 5 and remainder 2 when divided by 7. Here's the question: A Chinese general knows that his troops number somewhat above 1000, but otherwise isn't really sure of the number. He asks them to line up in rows of 11, and finds the final "remainder" row has 9 soldiers. He asks them to line up in rows of 13, and finds that the final "remainder" row has 1 soldier. He asks them to line up in rows of 17, and finds 14 soldiers in the final "remainder" row. How many soldiers are in his army? Solution 1340