I have been seeing the accepted submissions and every solution seems to have this concept:

For the `bth`

number having probability p, the probability of each bit being set is with probability p.

For more clarity, line 37 of this submission.

The probability of occurrence of a number cannot be advanced down to its bits.