sum of consecutive numbers from 1 to 50