After a long war, the Greeks finally decided to build a Trojan Horse to be lured into the heart of Troy. For this architecture, 180 soldiers were initially selected and would normally finish such work in 8 days.
However, after working for some whole days, 84 workmen were recruited back to the troops, leaving the rest to continue building.
Then, after working for some whole days, 16 workmen fell sick, and the remaining soldiers carried out the work for some whole days and eventually finished building the Greek gift.
How many days in total did it take for them to build the Trojan Horse, assuming the work capacity was always constant?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Here is a "simpler" solution: 180x + 96y +80z = 1440 ; 45x +24y + 20z = 320 . Notice that x has to even and y odd to get ending zero Hence, x =4 , y=5 , z=3 satisfies the equation: Answer: 12 days
Initially 1 8 0 soldiers could finish the work in 8 days, so each soldier could do 8 ⋅ 1 8 0 1 = 1 4 4 0 1 work in a day.
When 8 4 soldiers left for war, 1 8 0 − 8 4 = 9 6 soldiers remained, and they could do 1 4 4 0 9 6 = 1 5 1 work in a day.
When 1 6 more fell sick, 9 6 − 1 6 = 8 0 soldiers did the rest of the work. They could then do 1 4 4 0 8 0 = 1 8 1 work in a day.
Now let x , y , z be the positive integers of workdays for the three scenarios. We can then create a Diophantine equation as the following:
8 x + 1 5 y + 1 8 z = 1
Thus, 4 5 x + 2 4 y + 2 0 z = 3 6 0 .
Since the end sum has an ending 0 digit, y needs to have a factor of 5 . Otherwise, it can't end with zero.
However, if y = 1 0 , then 1 2 0 = 4 5 x + 2 0 z or 2 4 = 9 x + 4 z . Then 2 4 − 4 z = 4 ( 6 − z ) = 9 x , but 6 − z is not a multiple of 9 and x can't be zero. And if y = 1 5 , then 2 4 y = 3 6 0 and 0 = 4 5 x + 2 0 z , which is not applicable.
As a result, y must be 5 only.
Hence, 2 4 0 = 4 5 x + 2 0 z or 4 8 = 9 x + 4 z . Then 4 8 − 4 z = 4 ( 1 2 − z ) = 9 x . The only integers that work are z = 3 and x = 4 .
Checking the answers:
8 4 + 1 5 5 + 1 8 3 = 2 1 + 3 1 + 6 1 = 1
As a result, 1 8 0 soldiers were working for 4 days.
Then 9 6 soldiers were working for 5 days.
At last, 8 0 soldiers were working for the last 3 days and finished the work.
Finally, it would totally take 4 + 5 + 3 = 1 2 days to finish building the Greek gift.
Problem Loading...
Note Loading...
Set Loading...
The total work required is 1 8 0 soldiers × 8 days = 1 4 4 0 soldier-days. Let the numbers of days the first 1 8 0 soldiers worked, then 1 8 0 − 8 4 = 9 6 soldiers worked and 9 6 − 1 6 = 8 0 soldiers worked be natural numbers a , b and c respectively. Then, we have:
1 8 0 a + 9 6 b + 8 0 c 4 9 a + 5 6 b + c = 1 4 4 0 = 1 8 Dividing both sides by 8 0
Since the RHS is an integer, the LHS must also be an integer. This means that 4 ∣ a and 5 ∣ b . If a = 8 , then 4 9 a = 1 8 , ⟹ b = c = 0 which is unacceptable. Therefore, a = 4 . ⟹ 5 6 b + c = 9 . Again, the only possible value is b = 5 . ⟹ c = 3 .
Therefore, the total number of days needed is a + b + c = 4 + 5 + 3 = 1 2 .