(A1*10^4+A2*10^3+A3*10^2+A4*10+A5) - (A5*10^4+A4*10^3+A3*10^2+A2*10+A1) = 84942
1111*(A1 - A5) + 110*(A2 - A4) = 9438
Now: becuase A1 - A5 is 8 hence A1 and A5 can only be 9 and 1
therefore: 110(A2 - A4)= 550
and hence: A2 - A4 = 5
A3 can be any number between A2 and A4
The result would therefor be: 98731, 98631, 98531, 98431, 97621, 97521, 97421, 97321