Minimum excluded positive integer
ID: minimum-excluded-positive-integer
For a finite set of positive integers, its minimum excluded positive integer isFor example, gives three, while gives one. The answer lies between one and , since those candidates cannot all lie in .
The ordinary minimum excludant permits zero and would be zero for either example, because contains only positive integers. Choosing the positive or nonnegative convention is therefore part of the definition of the desired result.
New to topics? Read the docs here!