The package contains two varieties of sweets. What is the smallest number of candies you need to pull

The package contains two varieties of sweets. What is the smallest number of candies you need to pull out so that among them there are at least a two candies of the same grade b three candies of the same grade

1. You need to take 3 candies, because no matter what three candies you pull out – 2 of them will be of the same sort (after all, there are only 2 varieties).

2. You need to take 5 candies. We argue further. If we take 4 candies, there is a chance that 2 pieces of different sorts will come across. We take one more candy – 3 pieces of the same type are guaranteed to appear.



One of the components of a person's success in our time is receiving modern high-quality education, mastering the knowledge, skills and abilities necessary for life in society. A person today needs to study almost all his life, mastering everything new and new, acquiring the necessary professional qualities.