# Calc6.57

Discuss the convergence or divergence of the series for any integer .

Let us first look at the sequence of partial sums

This sequence is bounded, though by a different number for each n. If n is even, the first n values of k will be split up with two values of k that give a 0 for the sine function, and . Of the remaining n-2 values, the first half, a total of , will give a positive value for sine and the second half will cancel those all out. Thus, an easy to calculate bound (we just need to show that there is one, not find the least upper bound) is

since sine can be at most 1. If n is odd, this is only slightly different. Now, the nth value of k will give a 0 sine, where as the first will give a positive sine and the next will give exactly opposite negative sines, canceling out the first. Thus, for any n, the sequence of partial sums is bounded by

.

Now, since

goes to 0 as , by Dirichlet's test, this series converges.