sum: 30
steps for 5 elements: 5
sum: 55
steps for 10 elements: 10