If instead we look for 5 digit numbers, the number of solutions, again just looking at M < N, there are 522 solution, none with M = N. So 1044 allowing for those.
For an explanation, refer to the solution submitted by Larry in this location.
Comments: (
You must be logged in to post comments.)