Aflati pe x din 1+2+3+..+x=45

Răspuns :

1+2+3+…+x=x(x+1)/2

x(x+1)/2=45

x(x+1)=90

x(x+1)=9·10

x=9