TeX source:
{\displaystyle \left(1-B^{-P}\right)\left(B^{U+1}\right)}