a : b = 6 rest 7
a = 6×b + 7 (conform T.I.R)
a : (b + 2) = 5 rest 17
a = 5×(b+2) + 17 (conform T.I.R)
a = 5×b + 10 + 17
a = 5×b + 27
egalam cele doua relatii rezultate:
6 ×b + 7 = 5 ×b + 27
6 ×b - 5 ×b = 27 - 7
b = 20
a = 6×20+7 = 127
a = 127
b = 20
Verificam:
127 : 20 = 6 rest 7
127 : (20+2) = 127 : 22 = 5 rest 17