So I'm asked to find the time-averaged power of the following continuous signal: $$z(t) = \sqrt{E} \sum_{k=-\infty}^{+\infty} A_k g(t-kT)$$ where $A_k =1$ if $|k|$ is a prime number and $A_k=-1$ otherwise, and where $g(t)=1$ for $0 \leq t \leq T$ and $g(t) = 0$ otherwise. $T$ is the fundamental period.
I have no idea how I can do this. For now, all I did was sketching $z(t)$ for $0 \leq t \leq 4T$, but I don't see how it could help me.
If you could give me a hint, that would be nice, thank you.
Just a quick reminder for those who are interested, the power of a continuous signal is defined by: $$\lim_{T\to\infty} \frac{1}{2T} \cdot \int_{-T}^{T} |x(t)|^2 dt$$