Re: Where is the flaw in my thinking?



Thomas Richter wrote:

To test this out i created a simple program which modelled the "ideal"
random data stream by deriving the probability of the next bit in a
sequence being identical to the previous as P=0.5^(n+1) where n is the
run length of immediate previous identical bits.

Correction to my respond above. Of course the probability of having a run of n bits is 0.5^{n+1} for an i.i.d memoryless uniform binary source. First, 0.5 for every (equal) symbol, and another 0.5 for finding exactly the opposite symbol at last.

Sorry, my fault!

So long,
Thomas
.