a=x
b=x+1
c=x+2
d=x+3
a+b+c+d=3030
inlocuim
x+x+1+x+2+x+3=3030
4x+6=3030
4x=3030-6
4x=3024
x=756
-------------------------------------------
a=756 adica un segment
b=756+1
b=757 al doile segment
c=756+2
c=758 al treile segment
d=756+3
d=759 al patrulea segment
ver------------------
756+757+768+759=3030