What a fun question!!
The smallest number -> 1111
The next numbers -> 1113, 1115, 1117, 1119, then, 1131, 1133, etc., till 9999.
The total number of numbers in this set - 5 options for the left most digit x 5 options for the next digit x 5 options for the tens digit x 5 options for the ones digit = 625. We need to find the remainder when the 94th number in this set is divided by 25.
We can arrive at the 94th number by moving in ascending order in the following manner -> (1) 11 _ _There are 5 x 5 = 25 such numbers. Total - 25 numbers counted so far (in ascending order).
(2) 13_ _This is another 5 x 5 = 25 numbers. Total - 50 numbers.
(3) 15 _ _This is another 5 x 5 = 25 numbers. Total - 75 numbers.
Now, things get interesting. If we got for 17 _ _, that would be another 5 x 5 = 25 numbers, which would lead to a total of 100 numbers. Hence, the 94th number of the set is somewhere in between.
So, let's split this group into more categories, based on ten's digit.
(4) 171_5 such numbers (corresponding to 1711, 1713, 1715, 1717, 1719). Total - 80
(5) 173_In a similar fashion, there a 5 numbers here. Total - 85
(6) 175_Another 5 numbers. Total - 90
(7) 1771, 1773, 1775 --- are the 91st, 92nd, and 93rd numbers.
So,
The 94th number of the set = 1777.
The remainder when 1777 is divided by 25 = 2. Choice B.