Statistical mechanics of a Bethe lattice