Entropy of flexible chains placed on Bethe and Husimi lattices.