x÷2 = a, rest n ⇒ x = 2a+n
x÷3 = b, rest n ⇒ x = 3b+n
x÷5 = c, rest n ⇒ x = 5c+n
x÷7 = d, rest n ⇒ x = 7d+n
2a+n=3b+n=5c+n=7d+n
2a=3b=5c=7d
Cel mai mic multiplu comun (c.m.m.m.c) (2;3;5;7) = 210
Cum este cel mai mic numar natural, iar restul trebuie sa fie diferit de 0, atunci x = 210+1 = 211 (cel mai mic multiplu comun + 1, care este cel mai mic rest comun)