Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

There is a total of 50 beans in a jar. The beans can be classified as tasty, sour, colorful. A bean may be in more than category, if there are 25 classified as tasty, 40 as sour and 10 as colorful, what is the maximum number of beans that could be tasty and sour and colorful?

share|improve this question
Does every bean have to be either tasty, sour, or colorful? I assume yes, as otherwise, 10 is the obvious answer. –  Harald Hanche-Olsen Dec 14 '12 at 13:31
Your assumption is correct. –  fosho Dec 14 '12 at 13:33

1 Answer 1

up vote 2 down vote accepted

Even with the clarification in the commentss, the answer is (trivially) 10. Here is how: Make 10 beans have all three properties. Of the remaining 40, we need to have 15 tasty and 30 sour ones. That is easily arranged: Make 10 just tasty, 25 just sour, and 5 both tasty and sour.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.