Two-dimensional gas of electrons in a strong magnetic field