def harmonic_number(n):
    """Solution to exercise R-4.6.

    Describe a recursive function for computing the nth Harmonic number.
    """
    if n == 1:
        return 1/n  # Base case
    return 1/n + harmonic_number(n-1)