$\int (f)^n \, \textrm dx$ where $f$ is a polynomial and $n$ is a positive integer Besides expanding the integrand, is there some general method for solving indefinite integrals of the form $\int (f)^n \, \textrm dx$ where $f$ is a polynomial and $n$ is a positive integer? For example, $$\int (x^2 +x)^{100} \, \textrm dx?$$

$\int(x^2+x)^{100}~dx$
$=\int x^{100}(x+1)^{100}~dx$
$=\int x^{100}\sum\limits_{n=0}^{100}C_n^{100}x^n~dx$
$=\int\sum\limits_{n=0}^{100}C_n^{100}x^{n+100}~dx$
$=\sum\limits_{n=0}^{100}\dfrac{C_n^{100}x^{n+101}}{n+101}+C$
