1: \begin{abstract}
2: We present a numerical study of Riemann's formula for the oscillating
3: part of the density of the primes and their powers. The formula is
4: comprised of an infinite series of oscillatory terms,
5: one for each zero of the
6: zeta function on the critical line and was derived by
7: Riemann in his paper on primes assuming the Riemann hypothesis.
8: We show that high resolution spectral lines can be generated
9: by the truncated series at all powers of primes and demonstrate explicitly
10: that the relative line intensities are correct. We then derive a
11: Gaussian sum rule for Riemann's formula.
12: This is used to analyze the numerical convergence of the truncated series.
13: The connections to quantum chaos and semiclassical physics are discussed.
14: \end{abstract}
15: