Initially we start with one of the random permutations of S. There are N! permutations of S(all possible). But of these, the probability for the 2nd output byte of the result to be 0 is 2/N and not 1/N(as obviously but incorrectly seen from the fact that the probability of a byte to take a particular value is 1 divided by total different values possible).
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
30 | 31 | 1 | 2 | 3 | 4 | 5 |
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 1 | 2 | 3 |
Get Free Quote!
439 Experts Online