The characterization of sequence distribution in copolymers