Brain Teasers Optical Illusions Puzzle Hunts Codes & Ciphers Mechanical Puzzles
Personal Links
Browse Teasers
Search Teasers

Pass the Candy!

Logic puzzles require you to think. You will have to be logical in your reasoning.

 

Puzzle ID:#49956
Fun:*** (2.64)
Difficulty:*** (2.21)
Category:Logic
Submitted By:eighsseAus******

 

 

 



A group of 9 friends have a package of 40 W&W's chocolate candies to share. They each, one at a time, take a prime number of W&W's to eat. After that, the bag is empty. Exactly four of the friends took a number of W&W's that had previously been taken by someone else. Of the group, the number of people who took exactly 5 is twice the number of people who wear glasses.
Without any regard to the order in which they were taken, what individual quantities of W&W's were taken?



Answer

Answer: 2, 2, 2, 3, 3, 5, 5, 7, 11

There is only one way that any number 13 or greater can be included: {2,2,2,3,3,3,5,7,13}. This would be a valid solution, but... We know that an even number of people must have taken 5 W&W's, because it is twice the number that wear glasses.

This leaves only 5 unique primes (2,3,5,7,11) that can be involved, and we know they all are used, because there must be exactly 5 different primes (from the fourth sentence in the teaser). And we know that 5 must be used an even number of times.

So, that gives us {2,3,5,5,7,11} requiring three more primes whose sum is 7. Obviously, the other three must be {2,2,3}.

Hide




What Next?

  
  

See another brain teaser just like this one...

Or, just get a random brain teaser

If you become a registered user you can vote on this brain teaser, keep track of
which ones you have seen, and even make your own.

 





Back to Top
   


Online Now
8 users and 538 guests

Users In Chat
Aviator
Follow Braingle!
Tap into all 20,000+ of our brain teasers, riddles and puzzles on your iPhone or iPad.

Braingle in the iTunes App Store
Copyright © 1999-2017 | FAQ | Widgets | Links | Green | Subscribe | Contact | Privacy | Conditions | Advertise | Braingle Time: 3:54 am
Sign In Create a free account