On the reciprocal of a segment of a generalized hilbert matrix