In this paper an enlargement of the beta family of distributions on (0, 1) is presented. Distributions in this class are characterized as being the laws of certain random continued fractions associated with products of independent random matrices of order 2 whose entries are either constant or beta distributed. The result can be proved by a famous 1879 Thomae formula on generalized hypergeometric functions 3F2.