  In this paper, we prove an almost 40 year old conjecture by H. Cohen
concerning the generating function of the Hurwitz class number of quadratic
forms using the theory of mock modular forms. This conjecture yields an
infinite number of so far unproven class number relations.
