That's the right way to start. Then , and the equation has solutions . Also, , and the equation has solutions .

So we are looking for numbers of the form (multiple of 11) ±3, that are also of the form (multiple of 13) ±1. The easiest way to find such numbers is simply to go through the multiples of 11, looking at the numbers ±3 from these, and seeing if they are within ±1 of a multiple of 13.

The first one we find is 14 (=11+3=13+1).

Then 25 (=22+3=26-1); 118 (=121-3=117+1); and 129 (=132-3=130-1).

So there are four solutions, .