n : 3 = x rest 1 => n = 3x + 1 |+2
n : 4 = y rest 2 => n = 4y + 2 |+2
n : 5 = z rest 3 => n = 5z + 3 |+2
n : 6 = t rest 4 => n = 6t + 4 |+2
n + 2 = 3(x + 1)
n + 2 = 4(y + 1)
n + 2 = 5(z + 1)
n + 2 = 6(t + 1)
n + 2 = c.m.m.m.c [3; 4; 5; 6] = 4×3×5 = 60
n = 60 - 2 = 58 (cel mai mic numar care indeplineste simultan conditiile)
__________________________