------
## 最终结论
```python
def harmonic_sum(n):
    return sum(1/i for i in range(1, n))

# Test cases
assert harmonic_sum(7) == 2.5928571428571425
assert harmonic_sum(4) == 2.083333333333333
assert harmonic_sum(19) == 3.547739657143682
```