Abstract:
We find a precise value of the function $F_N(m,n,k)$, which is the number of binary
words of length $N$ and weight $m$ that contain an arbitrary word of length $n$ and weight $k$ as
a fragment. As a consequence, we obtain a known result on the number of binary words of
length $N$ that contain a fixed word of length $n$ as a fragment.