You are somewhat close...

While in principle the could be used here, it would be very awkward, as the corresponding integral cannot be easily evaluated.

Also, the series does not converge.

Please consider using a more convenient test.