------
## 最终结论
```python
def sum_div(n):
    total = 0
    for i in range(1, n):
        if n % i == 0:
            total += i
    return total
```