I'm trying to prove that the following integral $\int_{0}^{\infty}(-1)^{[ x^2]}dx$ is conditional converges, ( The brackets stand for the floor function). I can't use the integral test since this is clearly not a positive function, but I'd like somehow to do an analog to Leibniz series and use it, I'm not sure how.
Any suggestions?
Thank you!