Let $p$ be a prime and $u\ge 1$ be a positive integer.
Define $$\begin{align} S(p,u) &:= \sum_{q\text{ prime, }q \le p} q^u \\ &= 2^u+3^u+\cdots +p^u\end{align}$$
I wonder whether $S(p,u)$ can be a square for $p>2$ and $u>1$. For $p=2$, we simply have a power of $2$, which is a square , if $u$ is even. For $u=1$, we have $$2+3+\cdots 23=100=10^2.$$
But are there any squares for $p>2$ and $u>1$ ?
I checked the range $2\le u\le 100$ and $3\le p\le 10^8$ without finding a square.