We study the influence of a strong magnetic field on a superconducting
state of electron gas in a two-dimensional square lattice. The Harper
equation is extended in order to include pairing interactions between electrons.
We examine the effects of superconductivity with different pairing
symmetries on the Hofstadter energy spectra