Protein sequence is composed of three parts, internal group, external group and ambivalent group, so we regard the random numerical sequence to be composed of three parts (+1, 0, −1). We calculated the conditional probability, which was invariant to quantity protein sequences.