\[ \int \frac {x^{-1+\frac {n}{2}}}{b x^n+c x^{2 n}} \, dx \]
Optimal antiderivative \[ -\frac {2 x^{-\frac {n}{2}}}{b n}+\frac {2 \arctan \! \left (\frac {\sqrt {b}\, x^{-\frac {n}{2}}}{\sqrt {c}}\right ) \sqrt {c}}{b^{\frac {3}{2}} n} \]
command
integrate(x**(-1+1/2*n)/(b*x**n+c*x**(2*n)),x)
Sympy 1.10.1 under Python 3.10.4 output
\[ \text {Timed out} \]
Sympy 1.8 under Python 3.8.8 output
\[ - \frac {2 \operatorname {atan}{\left (\frac {x^{\frac {n}{2}}}{\sqrt {\frac {b}{c}}} \right )}}{b n \sqrt {\frac {b}{c}}} - \frac {2 x^{- \frac {n}{2}}}{b n} \]