
So in this question i first figured out that the numerator must be greater than $5000$ so that there are $4$ digits on the numerator and $5$ digits on the denominator.
And then after a few random guesses:
$$a=9273$$
$$b=18546$$
satisfied the condition.
But i have 2 follow up questions:
- How many solutions does this condition have?
- Is there a non random method of solving this question?
Mathematica found $12$ solutions: