Re: Randomness



Series of 0 and 1 form the binomial distribution. The distances between
consecutive 0 and 1 are described by the negative binomial
distribution. In the original question, we get for
0 distances 1,2,2,1,1,1,...
1 distances 2,2,29,....
The best test of accidental occurence of such strings is finding the
chisquare value of the negative binomial distribution.
kunzmilan

.