The first four harmonic numbers are 1, 3/2, 11/6, and 25/12. The harmonic numbers appear in several interesting identities, including this one for Apery's constant:
Compute the nth harmonic number.
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers99
Suggested Problems
-
Select every other element of a vector
37511 Solvers
-
2479 Solvers
-
2381 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
14544 Solvers
-
3759 Solvers
More from this Author330
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
There is something wrong. The solution I submit is not the solution I edited instead of original file.