Q. A drawer contains a mixture of red socks and blue socks, at most 1991 in all. It so happens that when two socks are selected randomly without replacement, there is a probability of exactly 1 2 that both are red or both are blue. Find the largest possible number of red socks in the drawer that is consistent with this data

 267  96 Probability - Part 2 Report Error

Answer: 990

Solution:

Let there be red socks and blue socks. Then
Let there be red socks and blue socks. Then
or
Multiplying both sides by and expanding,
we find that .
Rearranging, we have
Since . Because , we get .
We get the two inequalities


Adding both together and dividing by two yields