Density waves in a system of non-interacting particles