harmonicSequence(_:)

Harmonic sequence: The first n harmonic numbers

BigFrac.swift:1256
static func harmonicSequence(_ n: Int) -> [BFraction]

Parameters

n

The number of harmonic numbers

Returns

The harmonic numbers: H1, H2 … Hn