@staticmethod
def _n_pairs(n_symbols):
    """
        Calculate the number of values in the lower triangle,
        excluding the main diagonal, of a
        matrix with a shape *(n_symbols, n_symbols)*.
        """
    return (n_symbols - 1) / 2 * n_symbols
