\[P(a,b)=\left\lceil b-a-1\right\rceil,\]