Landau level quantization and superconductivity