------
## 最终结论
```python
def sum_series(n):
    total = 0
    while n > 0:
        total += n
        n -= 2
    return total

# Test cases
assert sum_series(6) == 12
assert sum_series(10) == 30
assert sum_series(9) == 25
```