Known: Sn = 1 + 1/2 + 1/3 + ... + 1 / n. Clearly for any integer K, when n is large enough, Sn is larger than K. Are now given an integer K (k less than or equal to 1 15), requires a minimum of n-calculated; such that Sn is larger than K.

NoSuchKey

Guess you like

Origin blog.csdn.net/Du798566/article/details/104255583