If $f(n)$ is a strictly increasing elementary function from the reals to the reals, and $p(n)$ is the $n$'th prime number. Is there any $f(n)$ such that $\sum_{n=1}^\infty\frac{1}{f(p(n))}$ is algebraic, or has a closed form in terms of elementary functions?
If not, is there a method to prove that the sum must be transcendental?