from t1 in db.Table where !db.Table.Any(t2 => t1.Id + 1 == t2.Id) select t1.Id + 1;