The Apple Problem

There is a box full of apples, it has more than 80 but less than 85 apples in the box, some of the apples are red and the others are green, if you divide all the red apples in the box into groups of 4, 1 is left over.

After a while, one person came, took away more than 15 green apples and then ran away.

Then, another person came and checked the box, he wanted to match 1 red apple and 1 green apple as a pair, after he matched all the possible pairs, he finds out there are less than 13 red apples that can't be matched as a pair.

At this point, if he switches some of the red apples, the same number as 1 4 \frac{1}{4} of stolen green apples, to green, then only 2 red apples can't be matched as a pair.

If there are originally at least 37 red apples in the box, what is the original number of apples in the box?

81 84 82 83

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

Kenneth Tan
Jul 30, 2014

Suppose there are x x red apples, y y green apples and n n stolen green apples, then { 81 x + y 84 x 37 n 16 \begin{cases} 81 \leqslant x+y \leqslant 84 \\ x \geqslant 37 \\ n \geqslant 16 \end{cases} After n n green apples were stolen, there are less than 13 red apples that can't be matched as a pair (because there are no more green apples left for the rest of the red apples to match), from this we can conclude y n < x , x ( y n ) 12 y-n<x,\quad x-(y-n) \leqslant 12 If n 4 \frac{n}{4} red apples are switched to green, the number of unmatchable red apples should decrease by n 2 \frac{n}{2} , we get x ( y n ) n 2 = 2 x-(y-n)-\frac{n}{2}=2 x ( y n ) = 2 + n 2 12 x-(y-n)=2+\frac{n}{2} \leqslant 12 16 n 20 16 \leqslant n \leqslant 20 Rewrite x ( y n ) 12 x-(y-n) \leqslant 12 as y x n 12 4 y-x\geqslant n-12\geqslant 4 , add it with y + x 81 y+x\geqslant 81 , you can get y 42.5 y \geqslant 42.5 or simply y 43 y \geqslant 43 .

From x y 4 x-y\leqslant -4 and x + y 84 x+y\leqslant 84 , we get x 40 x\leqslant 40 .

From x + y 84 x+y\leqslant 84 and x 37 x\geqslant 37 , we get y 47 y\leqslant 47 .

Thus, { 37 x 40 43 y 47 \begin{cases} 37\leqslant x\leqslant 40 \\ 43\leqslant y \leqslant 47\end{cases}

Since the number of red apples can be expressed as 4 k + 1 4k+1 , then x 1 x-1 must be a multiple of 4, therefore, x x can only be 37.

Meanwhile, from the problem we can know that n n is a multiple of 4, so the only possibilities for n n is 16 or 20. Substitute n n and x x it in the equation x ( y n ) n 2 = 2 x-(y-n)-\frac{n}{2}=2 you will get y = 43 , 45 y=43,\,45 Since x + y 81 x+y\geqslant 81 , thus y = 45 y=45 , n = 20 n=20 .

Therefore, the original number of apples in the box is x + y = 82 x+y=82 .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...