  We solve a functional equation connected to the algebraic characterization of
generalized information functions. To prove the symmetry of the solution, we
study a related system of functional equations, which involves two
homographies. These transformations generate the modular group, and this fact
plays a crucial role in solving the system. The method suggests a more general
relation between conditional probabilities and arithmetic.
