Counting occurrences of a pattern in a binary word
Roger Tian

TL;DR
This paper introduces a new method called 'lexicographic extreme referencing' to compute the number of occurrences of a pattern in binary words, providing formulas and algorithms for counting and constructing such words.
Contribution
It presents a novel referencing method and algorithms for counting pattern occurrences and constructing primitive words in binary sequences.
Findings
Derived a formula for pattern occurrences in binary words.
Developed algorithms for constructing words with specific pattern counts.
Discussed approaches for counting words with exact pattern repetitions.
Abstract
Enumerating the number of times one word occurs in another is a much-studied combinatorial subject. By utilizing a method that we call ``lexicographic extreme referencing'', we provide a formula for computing occurrences of one binary word in another. We then study , the number of binary words of length containing a given word exactly times. For this purpose, we first use lexicographic extreme referencing to provide an algorithm for constructing all words that contain a given word . Afterward, we give a modified version of this algorithm for constructing the subset of binary words that are ``primitive'' with respect to , and we discuss approaches for finding via primitive words.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
