整数首位数的分布——本福特定律

Let NN be an positive integer. It can be written as 10h+k10^{h+k} where hh is an integer and k∈[0,1)k\in [0,1). Can notice that the integral part of 10k10^{k}, i.e., ⌊10k⌋\lfloor 10^{k} \rfloor, decides the first digit of NN.

If K∼Unif(0,1)K\sim \mathrm{Unif}(0,1) then the PDF of 10K10^{K} is

f(x)={1xln⁡10,x∈[1,10)0,o.wf(x)=\begin{cases} \frac{1}{x\ln 10}, & x\in [1,10) \\ 0, & \text{o.w} \end{cases}

Interval Prob. Approx. Value
[1,2)[1,2) log⁡102\log_{10}2 0.301030
[2,3)[2,3) log⁡10(3/2)\log_{10}(3/2) 0.176091
[3,4)[3,4) log⁡10(4/3)\log_{10}(4/3) 0.124939
[4,5)[4,5) log⁡10(5/4)\log_{10}(5/4) 0.096910
[5,6)[5,6) log⁡10(6/5)\log_{10}(6/5) 0.079181
[6,7)[6,7) log⁡10(7/6)\log_{10}(7/6) 0.066947
[7,8)[7,8) log⁡10(8/7)\log_{10}(8/7) 0.057992
[8,9)[8,9) log⁡10(9/8)\log_{10}(9/8) 0.051153
[9,10)[9,10) log⁡10(10/9)\log_{10}(10/9) 0.045757

猜拳机器,以为有神谕,实则纯靠速度


整数首位数的分布——本福特定律
https://wtx17.github.io/2026/11/22/整数首位数的分布——本福特定律/
作者
wtx
发布于
2026年11月22日
更新于
2026年12月2日
许可协议