The 6-digit number 2X574Y is divisible by 36. How many possible solutions are for X?
My naive approach is to write multiples of 36 and see the patterns, but many multiplies must be written to see which one has 574. I have studied Silverman's Number Theory but these types of questions are never discussed.
What is the general method for solving this question? Or at least for this specific question?
This is from math olympiad for middle school students. There are 4 options : 1,2,3,4.