Solving H_n = 100
The Endeavour 2025-11-20
Summary:
The previous post includes code for solving the equation Hn = m i.e. finding the value of n for which the nth harmonic number is the closest to m. It works well for small values of m. It works for large m in the sense that the solution is very close to m, but it’s not necessarily the best solution. For […]
The post Solving H_n = 100 first appeared on John D. Cook.