Re:Shortest bit sequence that's never been sent over the Int...
by trowftd on Thursday April 19, 2018 @02:15AM
(#16873717)
Aren't you miscounting though? 111 contains the 11 sequence twice.
[ Parent
| on HN ]
Re:Shortest bit sequence that's never been sent over the Int...
by azernik on Thursday April 19, 2018 @02:42AM
(#16873824)
Which is probably the key intuition here - the expected number of matches is exactly the same, but because you can have more matches for the purely-repeated sequence in the same string the total number of strings containing those matches is smaller.
Re:Shortest bit sequence that's never been sent over the Int...
by panic on Thursday April 19, 2018 @02:38AM
(#16873809)
Sure, but the question is "how likely" not "how many times". Counting the expected number of times is a much easier problem because you can use the linearity of expectation.
Re:Shortest bit sequence that's never been sent over the Int...
by jstanley on Thursday April 19, 2018 @02:34AM
(#16873790)
But you're trying to find a bit-substring of length 2 that is least likely to have been transmitted.
If the bit strings of length 3 are chosen uniformly, 11 is less likely to appear than 10.