SOLUTION: 2017 soldiers were lined up in a file. The commander ordered them to number off 1,2,3,4,5,1,2,3,4,5,1... starting from the first soldier. He then ordered them to number off 1,2,3,4

Algebra.Com
Question 1132375: 2017 soldiers were lined up in a file. The commander ordered them to number off 1,2,3,4,5,1,2,3,4,5,1... starting from the first soldier. He then ordered them to number off 1,2,3,4,1,2,3,4,1... starting from the last soldier. How many soldiers had the same number both times?
Found 2 solutions by ikleyn, Alan3354:
Answer by ikleyn(52755)   (Show Source): You can put this solution on YOUR website!
.
2017 soldiers were lined up in a line.
The commander ordered them to number off 1,2,3,4,5,1,2,3,4,5,1... starting from the first soldier.
He then ordered them to number off 1,2,3,4,1,2,3,4,1... starting from the last soldier. How many soldiers had the same number both times?
~~~~~~~~~~~~~~~~~~~~~


            Pay attention on how I edited your post . . .


Separate 2017 soldiers lined up in a LINE, in segments of 20 soldiers each.


In each such segment you have these sequential numbers


    1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19  20  (1) 

    1  2  3  4  5  1  2  3  4   5   1   2   3   4   5   1   2   3   4   5  (2)      counted by 5

    1  2  3  4  1  2  3  4  1   2   3   4   1   2   3   4   1   2   3   4  (3)      counted by 4


As you can see, in each segment of 20 soldiers, only 4 first soldiers have equal numbers.


     = 100.85.


It means that there are 100 such segments of 20 soldiers, in all, PLUS part of the 101-th segment,
consisting of 17 soldiers.


It implies that the ANSWER to the problem's question is THIS NUMBER


    4*100 + 4 = 404 soldiers.


ANSWER.  404 soldiers.

Solved.


Answer by Alan3354(69443)   (Show Source): You can put this solution on YOUR website!
Soldiers always line up "alphabetically by height."
=========
- Yogi Berra's statement about lining up.
Don't want to plagiarize.

RELATED QUESTIONS

2017 students arrange themselves in a single file. In the first round of counting, they... (answered by greenestamps)
A master dog trainer lined up 255 highly intelligent dogs in front of him, numbering them (answered by ikleyn)
A group of soldiers consists of less than 10000 individuals. When the commander tries to... (answered by KMST)
​An army of men can line up to march in rows of 1, 2, 3, 4, 5, 6, 7, 8, 9 or 10... (answered by Alan3354)
The probabilities and number of automobiles lined up at a lakeside Olds at opening time(... (answered by edjones)
The hundred-handed monster Briareus was hungry and attacked a flock of 98 sheep. He... (answered by ikleyn,math_tutor2020)
From the information in the table providing values of f(x) and g(x), evaluate (f o g)^-1... (answered by stanbon)
From the information in the table providing values of f(x) and g(x), evaluate (f o g)^-1... (answered by Fombitz)
CHECK MY ANSWERS PLEASE....... Every year, the students at a school are given a... (answered by Fombitz)