n-semigroup