Example 292 How many different triples $\left(x_{1},x_{2},x_{3}\right)$ of positive integers are there such that $x_{1}+x_{2}+x_{3}=100$ and $x_{1}\leqslant x_{2}\leqslant x_{3}$.
Then $S_{3}$ acts naturally on $S$ and in each orbit of this action there is a unique $\left(x_{1},x_{2},x_{3}\right)$ such that $x_{1}\leqslant x_{2}\leqslant x_{3}$. So the question is equivalent to finding the number of orbits of this action. Note that $x_{1}$ can be any number from 1 to 98 , and $x_{2}$ any number from 1 to $99-x_{1}$, with $x_{3}$ then determined by the choices of $x_{1}$ and $x_{2}$. So