Since the first function is independent of T2, this temperature must cancel on the right side, meaning f(T1,T3) is of the form g(T1)/g(T3) (i.e. f(T1,T3) = f(T1,T2)f(T2,T3) = g(T1)/g(T2)?? g(T2)/g(T3) = g(T1)/g(T3)), where g is a function of a single temperature.