Răspuns:
ab5:ba = 5 rest 25
aplicam teorema impartirii cu rest
ab5=5ba+25
100a+10b+5=50b+5a+25
100a-5a=50b-10b+25-5
95a=40b+20 |:5
19a=8b+4
pentru b=9
19a=8·9+4
19a=76=>a=76:19=>a=4
nr ab=49 si ba=94
verificare:
ab5:ba=495:94
495:94=5
470
--------
=25