Sequence comparison is a primary technique for the analysis of DNA sequences. In order to make quantitative comparisons, one devises mathematical descriptors that capture the essence of the base composition and distribution of the sequence. Alignment methods and graphical techniques (where each sequence is represented by a curve in high-dimension Euclidean space) have been used popularly for a long time. In this contribution we will introduce a new nongraphical and nonalignment approach based on the frequencies of the dinucleotide 𝑋 𝑌 in DNA sequences. The most important feature of this method is that it not only identifies adjacent 𝑋 𝑌 pairs but also nonadjacent 𝑋 𝑌 ones where 𝑋 and 𝑌 are separated by some number of nucleotides. This methodology preserves information in DNA sequence that is ignored by other methods. We test our method on the coding regions of exon-1 of 𝛽 –globin for 11 species, and the utility of this new method is demonstrated.