From: Robert Dober Date: 2008-07-17T22:44:13+09:00 Subject: Re: The next number that is not in an array > true while restricted_numbers.include?(n+=1) I think there is a typo in here ;) Did you mean 42 while restricted_numbers.include?( n+= 1 ) of course you did.