Without using calculus (as in the previous exercise), show that, if n is a power of 2

Question:

Without using calculus (as in the previous exercise), show that, if n is a power of 2 greater than 1, then, for Hn, the nth harmonic number, 

Hn ≤ 1 + Hn/2

Use this fact to conclude that Hn ≤ 1 + [log n], for any n ≥ 1.


Data From Previous Exercise

Use the fact that, for a decreasing integrable function, f,

cb+1 b f(x)dx < f (x)dx, r=a r=a-1 2=a 

to show that, for the nth harmonic number, Hn

ln n ≤ Hn ≤ 1 + ln n.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Algorithm Design And Applications

ISBN: 9781118335918

1st Edition

Authors: Michael T. Goodrich, Roberto Tamassia

Question Posted: