The minimum excludant of a finite set of nonnegative integers is the smallest nonnegative integer absent from :For example, , while and . It always exists and is at most : the candidates cannot all belong to a set of cardinality .
In Sprague-Grundy theory, the Grundy number of a position in a finite acyclic impartial game is the mex of the values of its legal successor positions. The minimum excludant therefore converts the available moves into a reusable numerical description of a game position.
New to topics? Read the docs here!