Test whether the series $\sum_{n=1}^\infty\frac{1+\sin(n)}{2^n}$ is converges or diverges. I used the limit comparison method in order to test its convergence. I chose $a_n = \frac{1+\sin(n)}{2^n}$ and $b_n = \frac{1}{2^n}$.
$$ \lim_{n \rightarrow \infty}\frac{\frac{1+\sin(n)}{2^n}}{\frac{1}{2^n}} = \lim_{n \rightarrow \infty}({1+\sin(n)}) = \infty $$
However, WolframAlpha suggests that the series is in fact convergent. If this is the case, then is the way I set up the limit comparison test incorrect or is there another test that proves this series is convergent? Any help would be appreciated!
First of all, $\lim_{n \to \infty} 1 + \sin(n)$ is not equal to $\infty$. It doesn't exist, since $\sin(n)$ oscillates between $-1$ and $1$ as $n$ tends to infinity.
Try instead to compare $a_n =\sum_{i=1}^n \frac{1+\sin(n)}{2^n}$ with $b_n = \sum_{i=1}^n\frac{1+1}{2^n} = \sum_{i=1}^n\frac{2}{2^n}$. Note that since $\sin(n) \leq 1$ for all $n$, we have $a_n \leq b_n$ for all $n$. Thus,
$$\lim_{n \to \infty} \sum_{i=1}^n a_n \leq \lim_{n \to \infty} \sum_{i=1}^nb_n$$
Since $\lim_{n\to \infty} \sum_{i=1}^n b_n = \lim_{n \to \infty} \sum_{i=1}^n\frac{2}{2^n} = 2$, $\lim_{n \to \infty} \sum_{i=1}^n a_n \leq 2$ must converge.
Edit: As pointed out by zwim, you also have to make sure that $\sum a_n$ doesn't tend to $-\infty$. To do this, note that since $-1 \leq \sin(n)$ for all $n$, we have
$$ 0 = \sum_{i=1}^n \frac{1-1}{2} \leq \sum_{i=1}^n \frac{1+\sin(n)}{2} = \sum_{i=1}^n a_n .$$
Since $\sum_{i=1}^n a_n$ is bounded from below and from above, it must converge.