how to add consecutive numbers?



what function will i use to add number to (X)?

example: X = 10
y = 1 + 2 + 3 + 4 + 5 + . . . . . . + 10
y= 55

y = (what function)(x)
.