Ground-state structures and the random-state energy of the Madelung lattice.