The sum of $f(p)$ taken over all prime numbers $p$.
The sum of $f(p)$ taken over all prime numbers $p$ satisfying the predicate $P(p)$.