Gummy Bear Combinations

Gummy bears come in packs of 6 and 9. Is there a combination of these packs which gives a total of exactly 100 gummy bears?

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

Eli Ross Staff
Oct 5, 2015

Let x x and y y be the number of packs of 6 and 9, respectively. Then, we want to determine whether there is a solution in positive integers to 6 x + 9 y = 100. 6x+9y = 100. We can write 6 x + 9 y = 3 ( 2 x + 3 y ) , 6x + 9y = 3(2x+3y), so the total number of gummy bears will always be a multiple of 3. However, 100 is not a multiple of 3, so it is impossible to get exactly 100 gummy bears.

wolframalpha input

Solve mod(100-9b,6)=0 OR Solve mod(100-6a,9)

result= no integer solution

Harout G. Vartanian - 4 years, 1 month ago

6x+9y =100: 3[2x+3y] = 100, 100 is not a multiple of 3 So the answer is wrong.

You mean the answer is "no"?

Whitney Clark - 4 years, 11 months ago

there is no option named wrong mate !

Syed Hissaan - 4 years, 3 months ago
Tanvir Kaisar
Oct 9, 2015

9 1=9 rest=91/6 not an integar 9 2=18 rest=82/6 not an integar 9 3=27 rest=73/6 not an integar 9 4=36 rest=64/6 not an integar 9*5=45 rest=55/6 not an integar .....so on

aaaaaaaaaa

Wei Yu - 2 months, 4 weeks ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...