TeX source:
f(x)=a\left(x-x_{1}\right)^{p_{1}}\left(x-x_{2}\right)^{p_{2}} \cdots\left(x-x_{n}\right)^{p_{n}}