Windy Castle

Algebra Level 1

A small number of soldiers live in Windy Castle. Some are infantrymen and and the rest are Cavalry. Soldiers are each allowed to keep a pet pig, and a third of the soldiers do. At the annual banquet, each infantryman ate 12 quails, each cavalryman ate 17 quails and each pig ate 9 quails. Together, soldiers and pigs ate 305 quails. How many pigs are there at Windy Castle?


The answer is 6.

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.

1 solution

Arjen Vreugdenhil
Dec 17, 2017

Let I I be the number of infantrymen, C C the number of cavalrymen, and P P the number of pigs. If one-third of the soldiers keeps a pig then I + C = 3 P . I + C = 3P. The number of quail eaten is Q = 12 I + 17 C + 9 P = 12 ( I + C ) + 5 C + 9 P = 12 ( 3 P ) + 5 C + 9 P = 45 P + 5 C = 5 ( 9 P + C ) . Q = 12I + 17C + 9P = 12(I + C) + 5C + 9P = 12(3P) + 5 C + 9P = 45P + 5C = 5(9P + C). Since Q = 305 Q = 305 , we conclude that 9 P + C = 305 5 = 61. 9P + C = \frac{305}5 = 61. Solutions with positive whole numbers include P = 6 , C = 7 P = 6, C = 7 ; P = 5 , C = 16 P = 5, C = 16 ; etc. Only the first corresponds to a positive value for I I . Therefore P = 6 ; C = 7 ; I = 11. P = \boxed{6};\ C = 7;\ I = 11.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...