A Generalized Hamming Distance of Sequence Patterns
Abstract
We define sequence patterns of length n and level to be equivalence classes of sequences that have n elements from the set of integer symbols \1,2,…,\ with no restriction on repetition, where the equivalence relation is induced by symbol relabeling without swapping positions of symbols. We define a distance for a set of k sequence patterns of length n and level by generalizing the Hamming distance between sequences. We compute the maximal distance for k sequence patterns of length n and level and demonstrate how to calculate the exact distance between a pair of length-n level- sequence patterns.
Turn this paper into a full lesson
ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.