Constructing n-cell numbers by using double-side separation degrees and pattern recognition based on the maximal membership principle