Hacker News new | past | comments | ask | show | jobs | submit login

In base b, the probability of the leading significant digit to be d (where 0 < d < b) is log_b(1 + 1 / d).

That's why for base 10, the probability of the leading significant digit to be 1 is log_10(1 + 1/1) = 0.301. In base 2, the probability of the leading significant digit to be 1 is, quite trivially, log_2(1 + 1/1) = 1.0. Of course, all numbers in binary must begin with the digit 1.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: