In an attempt help answer the question of a fellow member, I recently tried to evaluate the integral
$$\int_{0}^{2}\frac{1-\cos(y^5)}{y^3}\text{ }dy$$
I figured I was unlikely to find a closed-form expression for the integral using only basic integration techniques, so I instead opted to find a series expression for it (maybe I can manipulate the series into a more familiar one?). Using the Maclaurin series of $\cos$ and some algebraic manipulation, I concluded that
\begin{align*} \frac{1-\cos(y^5)}{y^3} &= \sum_{n=1}^{\infty}(-1)^{n+1}\frac{y^{10n-3}}{(2n)!}\\ &= \frac{y^7}{2!}-\frac{y^{17}}{4!}+\frac{y^{27}}{6!}-\frac{y^{37}}{8!}+\cdots \end{align*}
and thus that
\begin{align*} \int_{0}^{2}\frac{1-\cos(y^5)}{y^3}\text{ }dy &= \sum_{n=1}^{\infty}(-1)^{n+1}\frac{2^{10n-2}}{(2n)!(10n-2)}\\ &= \frac{1}{8}\sum_{n=1}^{\infty}(-1)^{n+1}\frac{1024^n}{(2n)!(5n-1)} \end{align*}
Not the prettiest series I've seen, but definitely not the ugliest!
Not seeing any tricks I could do to manipulate the series into one I'm familiar with, I figured the closed-form I was hoping for was out of the equation, so I settled with estimating the integral using the series I derived.
This is where things get interesting. Using Desmos for computation, I noticed that the partial sums $\{s_k\}$ quickly reached the billions in absolute value (according to the site, this first occurs at $k=11$), so I assumed I ran into a convergence issue. However, after raising the upper limit for $k$ to $50$ and varying $k$, I noticed that for $k\geq 19$, the partial sums quickly decreased in absolute value until $k=39$, where $s_k$ finally started approximating the integral rather well (the integral is approximately $0.47659$).
As you can probably guess, I'd like to know why this is happening. Most of the series I've worked with only need a few terms to approximate their sum with an error of at most $1$, even $0.1$ at times. This series isn't that much different than them, so I find it odd for it to behave so erratically and take so long to settle. Any assistance is appreciated.