A(n,i)表示高位是i的统计结果.
A(n+1,1)=A(n,1)+A(n,2)
A(n+1,2)=A(n,1)+A(n,2)+A(n,3)
A(n+1,3)= A(n,2)+A(n,3)+A(n,4)
A(n+1,4)= A(n,3)+A(n,4)+A(n,5)
A(n+1,5)= A(n,4)+A(n,5)
汇总:An+1 =3An-A(n,1)-A(n,5),由对称性,A(n,1)=A(n,5) A(n,2)=A(n,4)
=3An -2A(n,1)
很难出公式
A(n,i)表示高位是i的统计结果.
A(n+1,1)=A(n,1)+A(n,2)
A(n+1,2)=A(n,1)+A(n,2)+A(n,3)
A(n+1,3)= A(n,2)+A(n,3)+A(n,4)
A(n+1,4)= A(n,3)+A(n,4)+A(n,5)
A(n+1,5)= A(n,4)+A(n,5)
汇总:An+1 =3An-A(n,1)-A(n,5),由对称性,A(n,1)=A(n,5) A(n,2)=A(n,4)
=3An -2A(n,1)
很难出公式