Let $s > 1$ be a real number and let $X$ be a random variable taking values in $\mathbb{N}^*$ following the zeta distribution with parameter $s$.
Deduce $$E(g(X)) = \lim_{n \rightarrow +\infty} \prod_{k=1}^{n} \frac{1}{1 - \chi_4\left(p_k\right) p_k^{-s}}.$$
Let $s > 1$ be a real number and let $X$ be a random variable taking values in $\mathbb{N}^*$ following the zeta distribution with parameter $s$.

Deduce
$$E(g(X)) = \lim_{n \rightarrow +\infty} \prod_{k=1}^{n} \frac{1}{1 - \chi_4\left(p_k\right) p_k^{-s}}.$$