\[p_{m}\left(\mathcal{D},n\right)=p_{m}\left(\mathcal{D},n-m\right)+p_{m-1}\left%
(\mathcal{D},n\right),\]