For any positive integer $n,$ let $\langle n \rangle$ denote the closest integer to $\sqrt{n}.$  Evaluate
\[\sum_{n = 1}^\infty \frac{2^{\langle n \rangle} + 2^{-\langle n \rangle}}{2^n}.\]
Question:
For any positive integer $n,$ let $\langle n \rangle$ denote the closest integer to $\sqrt{n}.$  Evaluate
\[\sum_{n = 1}^\infty \frac{2^{\langle n \rangle} + 2^{-\langle n \rangle}}{2^n}.\]
Answer:
Let's think step by step.

user
3
For any positive integer $n,$ let $\langle n \rangle$ denote the closest integer to $\sqrt{n}.$  Evaluate
\[\sum_{n = 1}^\infty \frac{2^{\langle n \rangle} + 2^{-\langle n \rangle}}{2^n}.\]
train