WLOG, suppose that . Rewrite the equation as
Obviously, both a and b cannot be 0 or 1.
, otherwise if a = 2 then
which is impossible because no two factorials have the difference of 2.
By way of contradiction, assume , and the fact that , we have
or , which is impossible. And hence b < c.
Next, we are gonna show that a = b. Assume a < b, then
and then
This implies that is odd because and are both even. And this mean that
otherwise and would be even.
So now becomes
Contradiction, and hence a = b. And so we have,
Hence, we have
Suppose that , then
then
Contradiction.
Case c = a + 2:
hence, or a = 4 since .
Then,
Case c = a + 1:
Obviously, a = 3 and a! > a + 3 for all integer a > 3.
Therefore, (a, b, c) = (3, 3, 4) is the only solution.