Partition function and the density of states for an electron in the plane subjected to a random potential and a magnetic field.