  We consider weighted ergodic averages indexed by primes, where the weight
depends on the prime, and is a "trace function" coming from algebraic geometry.
We obtain extensions the classical mean-ergodic and pointwise ergodic theorems,
as well as some result in the topological setting, and raise some further
problems.
