Sum of Consecutive Even Numbers
## Formula
The sum of the first $$n$$ even numbers is:
$$2+4+\cdots+2n=n(n+1)$$
The sum from $2m$ to $2n$ is:
$$\sum_{k=m}^{n}2k=n(n+1)-(m-1)m$$
## Usage
- Used to calculate sums over selected ranges of consecutive even numbers.