Let $$S(t)=\sum_{k=1}^t p_k^{p_k}$$
Where $p_k$ is the kth prime number. E.g. $S(2)=2^2+3^3=31$
Since $S(2)$ and $S(4)$ were both the $p+2$ of a twin prime.
Continued search with Pari/GP to test to $t=10^4$ and have found primes only for $\{2,4,24\}$, $S(24)$ is not a twin.
Will $S(t)$ for $t>24$ always have a factor?
Is there an analytical way to approach this problem? – Asbjørn Feb 16 '21 at 10:31