Martin rushed into the room bearing good news.

"Joseph, your idea worked! The company liked the idea of using only two types of weights to measure heavy objects!" announced Martin, giving the letter to Joseph.

"I told you so. Given any two types of weights, you can measure objects that are above a certain weight," explained Joseph, reading the letter, "Well, as long as the two weights are not both even."

Martin thought for a moment and then realized that he had no clue what Joseph meant by that, so he asked, "Huh? What? Isn't the new weight system designed to measure all types of objects?"

Joseph smiled and replied, "Technically, yes. However, this system can't measure objects that weigh 1 pound, 2 pounds and other lighter objects. Besides, both weights are heavier than 10 pounds."

"Really? But then why did the company like it?" wondered Martin, "What use does it have then? Can it measure 300 pounds? 90 pounds? 69 pounds?!"

"Yes, yes, and no." Joseph laughed, "You're not getting the point. The company only weighs things 120 pounds or heavier. This weighing system can't measure 119 pounds but any object above 119 pounds can be expressed as a sum of combinations of these two weights."

After hearing that, Martin was even more confused. Finally, Joseph said, "Look, 17 (5+5+7) can be expressed as a sum of only 5s and 7s. 18, on the other hand, can't. It works on the same principles. Think about it. You'll get it eventually."

Assuming everything has integer weights, what were the two types of weights that Joseph suggested?

I guessed. My pair makes every weight 120 and over. It makes 90. It makes 69, so I am wrong. (11 and 12) It made 119, so I should have known.

ReplyDeleteSo close. It looks like 11 and 13 work.

ReplyDeletecall them s and b

120 = 5s + 5b

121 = 11s + 0b

122 = 4s + 6b

123 = 10s + 1b

124 = 3s + 7b

125 = 9s + 2b

continue this leapfrog pattern until

130 = 0s + 10b

131 = 6s + 5b

132 = 11s + 0b

133 = 5s + 6b

we essentially have two tracks, one even, one odd, each can be increased by two (to the next even or next odd) by swapping an 11 for a 13.

and we're safe.

Neither 69 nor 119 can be weighed.

Very nice puzzle. It inspired me to post the McNuggets puzzle (and probably to use it in class.)

Answer:

ReplyDeleteThe two weights are 11 and 13.

If you played around with the hint, you'll realize that the largest number that cannot be expressed as a sum of Xs and Ys is equal to (X-1)(Y-1) - 1.

We are told that the largest number that can not be expressed as a sum of a combination of the two weights is 119.

Thus,

119 = (x-1)(y-1) - 1

120 = (x-1)(y-1)

From here, we only have to list 120's factors: (1,120), (2,60), (3,40), (4,30), (5,24), (6,20), (8,15), (10,12). There are 8 possible combinations.

However, we were told that both weights were above 10 pounds. Thus, only one pair remains (10,12). So, x=11 and y=13.

Try it out. You can't make 119 using only 11s and 13s but you can make 120 and above using only 11s and 13.

I like the mcnuggets problem I have the answer, but I'm not sure I should post it over there? Seems kind of silly given how often you post here, but I guess I'm still a bit shy about giving answers in class! ;-)

Was the McNuggets new for you?

ReplyDeleteYes and no. I've seen the problem before, but I had forgotten the answer. It's a great way to get the kids involved in the question.

ReplyDelete