While setting problems on Brilliant, Calvin absentmindedly eats through 7 identical bags of gummy worms. He looks up the 'nutritional information' on the bag, and notices that each bag of gummy worms contains 6 servings, and each serving has a whole number of calories. Given this, Calvin calculated that he consumed just under 1000 calories. What is the maximum possible number of calories that Calvin could have consumed from these bags of gummy worms?
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.
999.6 ACTUALLY . You never included the decimal point. SCOTLAAAAAND
If Calvin eats through 7 bags of gummy worms and each bag contains 6 servings of gummy worms, then Calvin has eaten 7 × 6 = 4 2 servings of gummy worms. Given that Calvin has consumed just under 1 0 0 0 calories and the previous information, the number of calories Calvin has consumed must be a multiple of 4 2 . Now, 1 0 0 0 when divided by 4 2 gives a remainder of 3 4 (in formal terms, 1 0 0 0 m o d 4 2 = 3 4 ). Thus, the closest multiple of 4 2 to 1 0 0 0 must be 1 0 0 0 − 3 4 = 9 6 6 , the required answer.
1000 // (7x6) * (7x6) = 966
Why don't you just guess and check? Just guess 6 x 23. That is 138. Then do 138 x 7. This gives you 966. I am eleven and I figured that out easily.
This question is quite interesting. 7 bags of gummy worms with 6 servings equals 42 servings of gummy worms. Each serving's number of calories is a positive integer. So you can do 1000/42, which equals 23.6, so you have to round down to get the maximum amount of gummy worms, so 23 calories each. Then you multiply 23*42 which equals 966. So that's how you get that answer.
Problem Loading...
Note Loading...
Set Loading...
From the conditions, we are looking for the largest number under 1000 that is a multiple of 6 × 7 = 4 2 . Since 1 0 0 0 / 4 2 ≈ 2 3 . 8 , the maximum number of calories that Calvin could have consumed is 2 3 × 4 2 = 9 6 6 .