Background
A harmonic sum is a mathematical concept that is used to calculate the sum of the reciprocals of a set of numbers. The reciprocal of a number is defined as 1 divided by the number. For example, the reciprocal of 2 is 0.5, because 1 divided by 2 is 0.5.
In the case of a harmonic sum, the set of numbers is usually represented by the natural numbers from 1 to n. The formula for the harmonic sum of n is: Hn = 1/1 + 1/2 + 1/3 + ... + 1/n.