MissingInteger

Find the minimal positive integer not occurring in a given sequence.