Probability & Statistics

Answer & solution
Official answer: 0.502 to 0.504
Our answer: 0.503
Method: partition the sample space by the value of the leftmost four-bit position.
1. In four-bit unsigned representation, the most significant bit has weight 8. Numbers 1 through 7 have MSB 0; there are seven. Numbers 8 through 13 have MSB 1; there are six. Zero is not in the sampling set.
2. The MSBs agree in two disjoint cases: both draws come from the seven-number group, or both from the six-number group.
3. Independent draws give probability (7/13)² for the first case and (6/13)² for the second. The desired sum is (49+36)/169=85/169.
4. Numerically 85/169≈0.50295858, which rounds to 0.503.
Result: 0.503. Independence permits the same number to be drawn twice. Treating the draws as without replacement would change both denominators and the probability.