Step 1: Understanding the sequence and series.
We are given the sequence \( a_n = n + \frac{1}{n} \), and we are asked to find the sum of the given series. First, note that the series involves alternating terms with \( (-1)^n \), and it appears to involve the exponential function \( e \).
Step 2: Rewriting the Series.
We rewrite the series and recognize that it has a form similar to the expansion of the exponential function \( e^x \). After simplifying, the sum of the series converges to \( 1 + e^{-1} \).
Step 3: Conclusion.
The correct answer is (D) \( 1 + e^{-1} \).