A group of soldiers was asked to fall in line making rows of three.

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite













A group of soldiers was asked to fall in line making rows of three. It was found that there was one soldier extra. Then they were asked to stand in rows of five. It was found there were left two soldiers. They were asked to stand in rows of seven. Then there were three soldiers who could not be adjusted. At least how many soldiers were there in the group?




Now I know the answer to this is $52$. But how to arrive at it? How to explain it to my students?



Now I know when if the number of soldiers is $x$, then $x/3$ gives $1$ as remainder, $x/5$ gives $2$ as remainder and $x/7$ gives $3$ as remainder.



I can even explain that $x + 2$ is divisble by $2$, $x + 3$ is divisible by $5$ and $x + 4$ is divisible by $7$. But now what? How to arrive at the solution?







share|cite|improve this question


















  • 1




    You need the Chinese remainder theorem
    – ab123
    Aug 26 at 8:55










  • You'll need to teach yourself the idea of modular arithmetic and all of its properties.
    – Anonymous I
    Aug 26 at 12:23














up vote
0
down vote

favorite













A group of soldiers was asked to fall in line making rows of three. It was found that there was one soldier extra. Then they were asked to stand in rows of five. It was found there were left two soldiers. They were asked to stand in rows of seven. Then there were three soldiers who could not be adjusted. At least how many soldiers were there in the group?




Now I know the answer to this is $52$. But how to arrive at it? How to explain it to my students?



Now I know when if the number of soldiers is $x$, then $x/3$ gives $1$ as remainder, $x/5$ gives $2$ as remainder and $x/7$ gives $3$ as remainder.



I can even explain that $x + 2$ is divisble by $2$, $x + 3$ is divisible by $5$ and $x + 4$ is divisible by $7$. But now what? How to arrive at the solution?







share|cite|improve this question


















  • 1




    You need the Chinese remainder theorem
    – ab123
    Aug 26 at 8:55










  • You'll need to teach yourself the idea of modular arithmetic and all of its properties.
    – Anonymous I
    Aug 26 at 12:23












up vote
0
down vote

favorite









up vote
0
down vote

favorite












A group of soldiers was asked to fall in line making rows of three. It was found that there was one soldier extra. Then they were asked to stand in rows of five. It was found there were left two soldiers. They were asked to stand in rows of seven. Then there were three soldiers who could not be adjusted. At least how many soldiers were there in the group?




Now I know the answer to this is $52$. But how to arrive at it? How to explain it to my students?



Now I know when if the number of soldiers is $x$, then $x/3$ gives $1$ as remainder, $x/5$ gives $2$ as remainder and $x/7$ gives $3$ as remainder.



I can even explain that $x + 2$ is divisble by $2$, $x + 3$ is divisible by $5$ and $x + 4$ is divisible by $7$. But now what? How to arrive at the solution?







share|cite|improve this question















A group of soldiers was asked to fall in line making rows of three. It was found that there was one soldier extra. Then they were asked to stand in rows of five. It was found there were left two soldiers. They were asked to stand in rows of seven. Then there were three soldiers who could not be adjusted. At least how many soldiers were there in the group?




Now I know the answer to this is $52$. But how to arrive at it? How to explain it to my students?



Now I know when if the number of soldiers is $x$, then $x/3$ gives $1$ as remainder, $x/5$ gives $2$ as remainder and $x/7$ gives $3$ as remainder.



I can even explain that $x + 2$ is divisble by $2$, $x + 3$ is divisible by $5$ and $x + 4$ is divisible by $7$. But now what? How to arrive at the solution?









share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Aug 26 at 12:32









Jendrik Stelzner

7,58221037




7,58221037










asked Aug 26 at 8:52









navjotjsingh

1426




1426







  • 1




    You need the Chinese remainder theorem
    – ab123
    Aug 26 at 8:55










  • You'll need to teach yourself the idea of modular arithmetic and all of its properties.
    – Anonymous I
    Aug 26 at 12:23












  • 1




    You need the Chinese remainder theorem
    – ab123
    Aug 26 at 8:55










  • You'll need to teach yourself the idea of modular arithmetic and all of its properties.
    – Anonymous I
    Aug 26 at 12:23







1




1




You need the Chinese remainder theorem
– ab123
Aug 26 at 8:55




You need the Chinese remainder theorem
– ab123
Aug 26 at 8:55












You'll need to teach yourself the idea of modular arithmetic and all of its properties.
– Anonymous I
Aug 26 at 12:23




You'll need to teach yourself the idea of modular arithmetic and all of its properties.
– Anonymous I
Aug 26 at 12:23










1 Answer
1






active

oldest

votes

















up vote
1
down vote













Start of by writing those equations in modular form like this:
$$begincases
xequiv 1pmod 3\
xequiv 2pmod5\
xequiv 3pmod7\
endcases$$



Then start of by writing the next congruence with the largest modulus namely $xequiv 3pmod 7$.



You can write this as $x=7*j + 3$ with $jinmathbb Z_0$.



Then you look for the next largest modulus $xequiv 2pmod 5$ which you can write as $j=5*k +2$ with $kinmathbb Z_0$



$qquad x= 7cdot(5cdot k+2)+3=35cdot k+17equiv 1pmod 3$



$beginaligniff 16-35cdot kequiv 0pmod 3\
kequiv 1pmod 3\endalign$



$beginalign
Longrightarrow x=35(3cdot l+1) +17\
x= 105cdot l+52
endalign$



with $linmathbb Z_0$.



So if the question wasn't "At least how many soldiers were there in the group" but "Give all the solutions to which the system of modular equations hold". It's $52+105cdot l$.






share|cite|improve this answer






















  • @navjotjsingh: Can you upvote this question and maybe accept it if it helped you?
    – Anonymous I
    Aug 26 at 14:49










Your Answer




StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2894834%2fa-group-of-soldiers-was-asked-to-fall-in-line-making-rows-of-three%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote













Start of by writing those equations in modular form like this:
$$begincases
xequiv 1pmod 3\
xequiv 2pmod5\
xequiv 3pmod7\
endcases$$



Then start of by writing the next congruence with the largest modulus namely $xequiv 3pmod 7$.



You can write this as $x=7*j + 3$ with $jinmathbb Z_0$.



Then you look for the next largest modulus $xequiv 2pmod 5$ which you can write as $j=5*k +2$ with $kinmathbb Z_0$



$qquad x= 7cdot(5cdot k+2)+3=35cdot k+17equiv 1pmod 3$



$beginaligniff 16-35cdot kequiv 0pmod 3\
kequiv 1pmod 3\endalign$



$beginalign
Longrightarrow x=35(3cdot l+1) +17\
x= 105cdot l+52
endalign$



with $linmathbb Z_0$.



So if the question wasn't "At least how many soldiers were there in the group" but "Give all the solutions to which the system of modular equations hold". It's $52+105cdot l$.






share|cite|improve this answer






















  • @navjotjsingh: Can you upvote this question and maybe accept it if it helped you?
    – Anonymous I
    Aug 26 at 14:49














up vote
1
down vote













Start of by writing those equations in modular form like this:
$$begincases
xequiv 1pmod 3\
xequiv 2pmod5\
xequiv 3pmod7\
endcases$$



Then start of by writing the next congruence with the largest modulus namely $xequiv 3pmod 7$.



You can write this as $x=7*j + 3$ with $jinmathbb Z_0$.



Then you look for the next largest modulus $xequiv 2pmod 5$ which you can write as $j=5*k +2$ with $kinmathbb Z_0$



$qquad x= 7cdot(5cdot k+2)+3=35cdot k+17equiv 1pmod 3$



$beginaligniff 16-35cdot kequiv 0pmod 3\
kequiv 1pmod 3\endalign$



$beginalign
Longrightarrow x=35(3cdot l+1) +17\
x= 105cdot l+52
endalign$



with $linmathbb Z_0$.



So if the question wasn't "At least how many soldiers were there in the group" but "Give all the solutions to which the system of modular equations hold". It's $52+105cdot l$.






share|cite|improve this answer






















  • @navjotjsingh: Can you upvote this question and maybe accept it if it helped you?
    – Anonymous I
    Aug 26 at 14:49












up vote
1
down vote










up vote
1
down vote









Start of by writing those equations in modular form like this:
$$begincases
xequiv 1pmod 3\
xequiv 2pmod5\
xequiv 3pmod7\
endcases$$



Then start of by writing the next congruence with the largest modulus namely $xequiv 3pmod 7$.



You can write this as $x=7*j + 3$ with $jinmathbb Z_0$.



Then you look for the next largest modulus $xequiv 2pmod 5$ which you can write as $j=5*k +2$ with $kinmathbb Z_0$



$qquad x= 7cdot(5cdot k+2)+3=35cdot k+17equiv 1pmod 3$



$beginaligniff 16-35cdot kequiv 0pmod 3\
kequiv 1pmod 3\endalign$



$beginalign
Longrightarrow x=35(3cdot l+1) +17\
x= 105cdot l+52
endalign$



with $linmathbb Z_0$.



So if the question wasn't "At least how many soldiers were there in the group" but "Give all the solutions to which the system of modular equations hold". It's $52+105cdot l$.






share|cite|improve this answer














Start of by writing those equations in modular form like this:
$$begincases
xequiv 1pmod 3\
xequiv 2pmod5\
xequiv 3pmod7\
endcases$$



Then start of by writing the next congruence with the largest modulus namely $xequiv 3pmod 7$.



You can write this as $x=7*j + 3$ with $jinmathbb Z_0$.



Then you look for the next largest modulus $xequiv 2pmod 5$ which you can write as $j=5*k +2$ with $kinmathbb Z_0$



$qquad x= 7cdot(5cdot k+2)+3=35cdot k+17equiv 1pmod 3$



$beginaligniff 16-35cdot kequiv 0pmod 3\
kequiv 1pmod 3\endalign$



$beginalign
Longrightarrow x=35(3cdot l+1) +17\
x= 105cdot l+52
endalign$



with $linmathbb Z_0$.



So if the question wasn't "At least how many soldiers were there in the group" but "Give all the solutions to which the system of modular equations hold". It's $52+105cdot l$.







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Aug 26 at 12:17

























answered Aug 26 at 11:24









Anonymous I

8351725




8351725











  • @navjotjsingh: Can you upvote this question and maybe accept it if it helped you?
    – Anonymous I
    Aug 26 at 14:49
















  • @navjotjsingh: Can you upvote this question and maybe accept it if it helped you?
    – Anonymous I
    Aug 26 at 14:49















@navjotjsingh: Can you upvote this question and maybe accept it if it helped you?
– Anonymous I
Aug 26 at 14:49




@navjotjsingh: Can you upvote this question and maybe accept it if it helped you?
– Anonymous I
Aug 26 at 14:49

















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2894834%2fa-group-of-soldiers-was-asked-to-fall-in-line-making-rows-of-three%23new-answer', 'question_page');

);

Post as a guest













































































這個網誌中的熱門文章

How to combine Bézier curves to a surface?

Mutual Information Always Non-negative

Why am i infinitely getting the same tweet with the Twitter Search API?