Weighted lattice points in threedimensional convex bodies and the number of lattice points in parts of elliptic paraboloids.
We extend Van der Corput's method for exponential sums to study an oscillating term appearing in the quantum theory of large atoms. We obtain an interpretation in terms of classical dynamics and we produce sharp asymptotic upper and lower bounds for the oscillations.