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 Solvers94
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15798 Solvers
-
Sum all integers from 1 to 2^n
17807 Solvers
-
Back to basics 21 - Matrix replicating
1809 Solvers
-
Compute a dot product of two vectors x and y
1052 Solvers
-
445 Solvers
More from this Author323
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.