# All permutations needed

Find the sum $$(a+b+c)$$ of all ordered triples of positive integers $$(a,b,c)$$ such that each of the following numbers $\large ab-c, \quad bc-a, \quad ca-b$ is a power of 2.

×