Choco Balls Riddle

A famous chocolate shop sells the delicate Choco balls in 3 3 different packages: a small square box of 9 9 Choco balls, a middle hexagonal box of 14 14 , and a large triangular box of 21 21 .

If you would like exactly 85 85 Choco balls, how many boxes in total would you need to buy?


The answer is 7.

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.

3 solutions

Since 85 85 is not a multiple of 7 7 or 9 9 , this amount can not be put in terms of one type of box alone. Neither can it be put in terms of 14 14 and 21 21 because it would need to be a multiple of 7 7 . Thus, the small box must be involved no matter what.

Then suppose 85 7 n ( m o d 9 ) 85 \equiv 7n \pmod{9} .

Then 85 4 7 7 49 ( m o d 9 ) 85 \equiv 4 \equiv 7\cdot 7 \equiv 49 \pmod{9} .

Thus, n = 7 n = 7 , and there is only one way to put 49 49 Choco balls in terms of the bigger boxes:

49 = ( 4 7 ) + ( 3 7 ) = 2 14 + 21 49 = (4\cdot 7) + (3\cdot 7) = 2\cdot 14 +21 .

Hence, we need to buy 2 2 middle boxes and 1 1 large box, which leaves us 4 4 small boxes, for 85 49 = 36 = 4 9 85-49 = 36 = 4\cdot 9 .

Finally, the number of boxes = 4 + 2 + 1 = 7 4+2+1 = \boxed{7} .

Marta Reece
Jun 1, 2017

The remainder after dividing 85 by 7 is 1.

85 m o d 7 = 1 85 \mod 7 = 1

The remainder after dividing 9 by 7 is 2.

9 m o d 7 = 2 9 \mod 7 =2

(The other boxed do not contribute, since 14 and 21 are divisible by 7)

It takes multiplying by 4 to get the right remainder:

9 × 4 m o d 7 = 2 × 4 m o d 7 = 8 m o d 7 = 1 9\times4 \mod 7=2\times4 \mod 7=8 \mod 7 =1

After taking off 4 boxed with 9 chocolates each, we are left with 49 to distribute between boxes size 2 × 7 2\times7 and 3 × 7 3\times7 .

49 / 7 = 7 49/7=7

7 distributed in chunks of 2 or 3 can be written as 7 = 2 + 2 + 3 7=2+2+3 , two boxes of 14 each, one with 21.

Kushal Bose
May 31, 2017

Let , number of square boxes, hexagonal boxes and triangular boxes are x , y , z x,y,z respectively.

Then 9 x + 14 y + 21 z = 85 7 ( 2 y + 3 z ) = 85 9 x 9x+14y+21z=85 \\ 7(2y+3z)=85-9x

It implies 7 85 9 x 7 1 9 x 7 1 2 x 7 | 85-9x \implies 7 | 1-9x \implies 7| 1-2x

So, appropriate solution of x = 4 x=4 .There are many many other solutions but this will cross the value 85 85

7 ( 2 y + 3 z ) = 85 36 = 49 2 y + 3 z = 7 7(2y+3z)=85-36=49 \\2y+3z=7

Here the only solution is y = 2 ; z = 1 y=2; z=1

So, total boxes required to buy 4 + 2 + 1 = 7 4+2+1=7

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...