harmonic_number
Calculate the nth harmonic number H_n = 1 + 1/2 + 1/3 + ... + 1/n for mathematical analysis and series computations.
Instructions
Calculate the nth harmonic number H_n = 1 + 1/2 + 1/3 + ... + 1/n. (Domain: arithmetic, Category: harmonic_series)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |