DUE: Mon Oct 8, in class
NOTICE:
(a) Clearly, ln(x) goes infinity as x goes to infinity. But how can we prove this without calculus? In discrete math, the log function arises as the harmonic numbers Hn=1+ (1/2) + …+ (1/n). You should know that Hn = ln(n) +Theta(1) (see text). Thus, it is enough to show that Hn goes to infinity as n goes to infinity. Prove this.
(b) But while ln(x) is unbounded, it is also a very slow growing function. For instance, Hn = O(nc) for any constant c > 0. Prove this in the case of c=1/2.
HINTS: Please read Appendix A.2 for ideas for how to estimate sums. For part (a), we suggest that you assume n=2k for some k ≥ 2 and group the summation of Hn into k groups. For part (b), split the sum of Hn into two parts, the first part with about terms.
(a) Compute the probability Pr(B|An).
(b) What is the minimum number n of flips needed to determine whether C is fair or fake with 99% certainty? We want a numerical value for n, but show the working (probably using a hand calculator).
HINT: let σ = (x1,..., xn) be any permutation of [1..n]. Show that Ai be the event {A[i]=xi}. Prove that the probablity that the array A represents σ is 1/n!. Again, use the formula in C.2-6 (p.1106).