Răspuns:
a + b + c = 135
a : c = 12 rest 1 ==>a = 12×c+1
b : c = 31 rest 2 ==>b = 31×c+2
inlocuim in prima relatie in functie de c
12×c+1 + 31×c+2 + c = 135
44 × c = 135 - 3
44 × c = 132
c = 132 : 44
c = 3
a = 12×3+1 = 36+1 = 37
b = 31×3+2 = 93+2 = 95
Verificare:
37 + 95 + 3 = 135