67.91 Problem number 384

\[ \int \left (a+b \tan ^4(c+d x)\right ) \, dx \]

Optimal antiderivative \[ a x +b x -\frac {b \tan \left (d x +c \right )}{d}+\frac {b \left (\tan ^{3}\left (d x +c \right )\right )}{3 d} \]

command

integrate(a+tan(d*x+c)^4*b,x, algorithm="giac")

Giac 1.9.0-11 via sagemath 9.6 output

\[ \text {output too large to display} \]

Giac 1.7.0 via sagemath 9.3 output \[ \text {Exception raised: NotImplementedError} \]_______________________________________________________