Explicație pas cu pas:
Notam cu x cel mai mic numar
x:5=c1,r=3=>x=5c1+3=>x+2=5c1+5
x:6=c2,r=4=>x=6c2+4=>x+2=6c2+6
x:8=c3,r=6=>x=8c3+6=>x+2=8c3+8
x+2=5c1+5=>x+2=5(c1+1)=>5|x+2
x+2=6c2+6=>x+2=6(c2+1)=>6|x+1
x+2=8(c3+1)=>8|x+2
Deci x+2=[5,6,8] => x+2=120 => x=118