a : 12 = x rest 8 ==> a = 12x+8 |+4
a : 10 = y rest 6 ===> a = 10y+6 |+4
==> a +4 = 12×(x+1)
==> a + 4 = 10×(y+1)
12 = 2^2 × 3
10 = 2 × 5
--------------------
a + 4 = 2^2×3 × 5 = 60
a = 60 - 4 = 56 (numarul cautat)
Verificare:
56 : 12 = 4 rest 8
56 : 10 = 5 rest 6
5 + 6 = 11 (suma cifrelor)
varianta c) este cea corecta