Thats easy, sort the whole lot by the second column then by the first column. That should give you all the free numbers at the top.
Go to the data menu then sort. Select column b as the first option then column A as the second. You should then have all the Y's at the top and you can pick the large quantities of sequential numbers out.