First, either 32+3 or 36+3tankee wrote:anyway to solve this type of qns beside using guess and check?

qns

Ali has more than 30 marbles but fewer than 40 marbles.

If he puts them into groups of 4, there will be a reminder of 3 marbles.

If he puts them into groups of 6, there will be a reminder of 5 marbles.

How many marbles does Ali have?

Since group into 6 will give you remainder 3 for 36+3, it has to be 32+3