He solves 112 problems the day he drinks coffee
(3p+7)(t-4) = 2tp
===> .
Since both t and p are positive integers, can only take on the values 0, 1, or 2. (Why?)
does not yield any value of p.
===> p = 7.
===> p = 0, which is not acceptable.
Therefore, p = 7,
===> ,
and the mathematician solved (3*7 + 7)(8-4) = 28*4 = 112 problems