https://www.study24x7.com/post/34510/average-consecutive-terms-even-numbers-and-odd-numbers-1