Okay, so this is a problem that I have absolutely no idea how to start. Other than making random conjectures or saying "These are all integers!" I have no idea how to go about solving this. A pointer on where to start would be greatly appreciated.

We're given the hint to prove that each element of the above set solvesn = ax +bybut I don't know how to go about doing that!