Re:Shortest bit sequence that's never been sent over the Int...
by rtkwe on Thursday April 19, 2018 @10:51AM
(#16876366)
Yeah doing a brute force count of the possibilities the (6,6) option is double counted by the 1/6 + 1/6 method as two distinct possibilities. Or that's what it looks like is happening. Been too long since my college combinatorics class.
HH, HT, TH, TT
However, if you count the sequences with at least one H there are (4-1) = 3 with at least 1 H (HH, HT, HT) as the HH eats up 2 H's.
Now, Picture 3 sided dice, that's (3x3) = 9 options. You will see ((3x3) x 1/3 x 2(flips)) = 6 2's.
00, 01, 02, 10, 11, 12, 20, 21, 22
However if you count there are (6 - 1) = 5 sequences with at least one 2 you get 02, 12, 20, 21, 22 as the 22 eats up an extra 2.
Now, what do you think happens with an N sided dice? What if N is 6.
PS: This seems less clear as I added more info...