... positions, of the number of wordsσ with k’s in the positions given by the subset. The quantity Nmis given byNm=pmfr(n − m, k),since inserting m copies of k into any of the first ... studied in detail some properties of the random variable X(τ′), the number of occurrences of a hidden word τ′ in a random k-ary word of length n,including the mean and varia nce of its distribution. ... of k (the positions of the last q − 1 copies of k do not affect the number of occurrences of the pattern), a ndwe let A = ab−(q− 1). The number of occurrences of 1′2p,qthat the k’s of σ...