Hello,

The n-th 1 is preceded by a number of 0 equal to

The p-th 1 is preceded by a number of 0 equal to

Hence, assuming that p>n, there is a number of 0 between the n-th and the p-th equal to :

This is the theorical part..

Here, p=101 and n=98... And I find the same result