(In reply to part (i) solution
In the solution to part (i) I said that the digit 1 occupies 1/16 of the fractional unit immediately after the hexadecimal point, and that this was supplemented by a portion of the zero segment, as 1/16. But this neglected double zero, etc.
The true complete fraction should be 1/15, as would be the case if we continued that infinite series: 1/16 + 1/16^2 + 1/16^3 + ....
That changes the first addent in the totals at the bottom, which should be:
making the overall total .6963469495867353, which, when divided by 16 becomes the probability .04352168434917095.
The discrepancy is small enough that the simulation would not give it away as obviously wrong.
Posted by Charlie
on 2016-06-20 21:56:20