the coefficient is where the sum is taken over all integer solutions of the system: and note

that the condition is a result of the above equations. also see that we actually have: one

way to find all solutions is to consider four cases it will take less than 5 minutes of your time!