semiprimary n-semigroup