Exact distribution of a pattern in a set of random sequences generated by a Markov source: applications to biological data | Synapse