最初由 gdntfrank 发布
I guess, if p>=0.5, n=infinity.If p<0.5, n=1.
最初由 gdntfrank 发布
You mentionaed tail, that means p<0.5, otherwise it is not tail.
It also shows that if p>0.5, n should be infinity. The reason for
some p<0.5, n!=1, is beacuase of the discrete value of n. You
may have to solve the beta function.