For any Positive integer $n\;,$ Let $t(n)$ denote the integer closest to $\sqrt{n}\;,$
Then value of $\displaystyle \sum^{\infty}_{n=1}\frac{2^{t(n)}+2^{-t(n)}}{2^n}$
$\bf{My\; Try::}$ Here What i Understand is that $t(2)=1$ and $t(3) = 3$
So Let $t(n) = k\;,$ Then $\displaystyle \left(k-\frac{1}{2}\right)\leq \sqrt{n}<\left(k+\frac{1}{2}\right)\;,$ Where $k\in \mathbb{Z}$
So we get $$k^2-k+\frac{1}{4}\leq n<k^2+k+\frac{1}{4}$$
Now How can I solve after that, Help Required, Thanks