is there a method to evaluate the fourier sums ??
$$ \sum_{n=0}^\infty t^n \sin(nx)= F(x,t) $$
$$ \sum_{n=0}^\infty t^n \cos(nx)= G(x,t) $$
my idea is that i need to use these sums to apply Borel Resummation to the series
$$ \sum_{n=0}^\infty a(n) \cos(nx)= \int_0^\infty dt \, g(t)G(x,t) $$
with $ a(n)= \int_0^\infty dt \, t^{n}g(t) $
Consider
$$\sum_{n=0}^{\infty} t^n e^{i n x} = \frac{1}{1-t e^{i x}}$$
Then
$$\sum_{n=0}^{\infty} t^n \cos{n x} = \Re{\frac{1}{1-t e^{i x}}}$$
$$\sum_{n=0}^{\infty} t^n \sin{n x} = \Im{\frac{1}{1-t e^{i x}}}$$
When $t \in \mathbb{R}$, then
$$\begin{align}\frac{1}{1-t e^{i x}} &= \frac{1}{1-t \cos{x} - i t \sin{x}} \\ &= \frac{1-t \cos{x} + i t \sin{x}}{(1-t \cos{x})^2 + t^2 \sin^2{x}}\\ &= \frac{1-t \cos{x}}{1-2 t \cos{x} + t^2} + i \frac{t \sin{x}}{1-2 t \cos{x} + t^2} \end{align}$$