harmonic_series
Calculate the nth partial sum of the harmonic series: 1 + 1/2 + 1/3 + ... + 1/n. Input an integer n to compute the sum of reciprocals up to that term.
Instructions
Calculate the nth partial sum of the harmonic series: 1 + 1/2 + 1/3 + ... + 1/n. (Domain: arithmetic, Category: general)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |