Answer:
3 socks
Explanation:
Let's look at what outcomes you can have when you take one sock at a time for the first three picks.
First pick: grey
You have: 1 grey sock
Second pick: grey or blue
You have: 1 grey sock & 1 grey sock (a pair)
or 1 grey sock and 1 blue sock (no pair)
Third pick: grey or blue
You have: 2 grey + 1 grey (1 pair)
or 2 grey and 1 blue (1 pair)
or 1 grey sock, 1 blue sock, 1 grey (1 pair)
or 1 grey, 1 blue, 1 blue (1 pair)
Notice that obviously after the first pick, you cannot have a pair since you only took out one sock. After the second pick, you may or may not have a pair. After the third pick, you must have a pair.
Answer: 3 socks