This is a fairly generic way to do this.
Bear in mind it depends on your number
column being consecutive. If it's not a Window function and/or CTE type-solution will probably be needed:
DECLARESELECT @Consec
int = 3 number
FROM
SELECT
mytable numberm
FROMCROSS JOIN
(SELECT MyTable3 MAS consec) x
WHERE
EXISTS
(SELECT 1
FROM MyTablemytable
WHERE number = Mm.number -@consec+1 x.consec + 1
AND Statusstatus = 'FREE')
AND NOT EXISTS
(SELECT 1
FROM MyTablemytable
WHERE number BETWEEN Mm.number -@consec+1 x.consec + 1 AND Mm.Numbernumber
AND Statusstatus = 'ASSIGNED')