0
$\begingroup$

For a random whole number, n, between 0 and 4000 billion (don't know what that's called), is the probability that n is a multiple of 4096, 1/4096?

  • 0
    @Ross: In the UK a *billion* has been $10^9$ officially (i.e. government usage) since 1974.2012-07-12

1 Answers 1

2

If one end (either $0$ or $4000$ billion) is included, the probability is exactly $\frac 1{4096}$ as $4096=2^{12}$ and 4000 billion has at least $14$ factors of $2$ (if billion = $10^9$). If both ends are excluded, there is an error of $1$ in $4000$ billion. If both ends are included, there is an error of about $1$ in $976562500$

Added: as both ends are included, the probability is $\frac {976562501}{4000000000001}$ which is not exactly $\frac 1{4096}$

  • 0
    @Jayraj: If you count from 0 to 10, there are 11 numbers. The extra 1 in both the numerator and denominator accounts for the error. In fact, the error is much larger, see my edit.2012-07-11