Hi,

I would like to compute the probability of the following problem...

Variables:

+ a sequence defined by an alphabet of four characters

+ a specific short sequences1

+ a specific short sequences2

+ a gap of non-specific characters betweens1ands2of lengthgFor example:

...230121032032013220312300132010...

+s1=3203(the first bold sequence)

+s2=3123(the second bold sequence)

+g= 7 (the length of the underlined sequence = gap)

What is the probability thats1ands2occur with a gap that does not exceed 100?

Someone suggested using the Poisson distribution, but I'm not sure...