a+a+2+a+4=987-2
a+a+a+4=985-4
3a=981
a=327, a+2=329, a+4=331
a |---------|
a+2|---------|----|----|
a+4|---------|----|----|----|----|
a doua metoda:
987-(4+2)=981
|---------|
|---------| <= acestea sunt segmentele dupa scadere
|---------|
3a=981
a=327, a+2=329, a+4=331
Sper ca te-am ajutat!!