Problem 46000. Compute the harmonic numbers
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
Binbin Qi
on 18 Nov 2020
There is something wrong. The solution I submit is not the solution I edited instead of original file.
Solution Comments
Show commentsProblem Recent Solvers75
Suggested Problems
-
Maximum running product for a string of numbers
2142 Solvers
-
How to find the position of an element in a vector without using the find function
2706 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
10697 Solvers
-
Integer Sequence - II : New Fibonacci
480 Solvers
-
Calculate Amount of Cake Frosting
23663 Solvers
More from this Author269
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!