Definition: Operation An n-ary operation on a set S is a function from the n-ary Cartesian power of S to S. f:n timesS×⋯×S→S