A bag contains $b$ balls in total, $r$ of which are red, while the rest are white. In a game a player removes balls one at a time from the bag (without replacement). He may remove as many balls as he wants, but if he removes even a single red ball he loses, and gets no reward at all. If he does not remove a single red ball, he is awarded 1 pound for each white ball removed.
He should aim to remove $n$ white balls on the first $n$ draws in order to maximize his expected total reward. Find the value of $n$ (in terms of $b$ and $r$).