The answer to the problem is as follows:
minimum to be 100% sure of getting a pair...
he could pull out a green sock, a gold sock, a black sock, and a red sock on
4
picks, none of which match
that's 4 picks
seeing that he has one of each color, on the fifth pick he will for sure have a match
5 is the minimum