We are going to generalize this result here. Consider the following equation.
axl + bym = czn
If c includes the factor pn, we can multiply z by p and divide c by pn. Thus it is safe to assume the primes in any coefficient are raised to powers smaller than the associated exponent.
In what follows, we will assume that the primes in any coefficient are raised to powers smaller than all three exponents. Also, let two of the exponents be equal, while the third is a factor of the other two. Consider the following example.
7x6 + 12y6 = 35z3
If p divides y and z, the coefficient on x cannot absorb all these powers of p, hence p divides x. If p divides two variables it divides the third, so assume p divides all three variables.
The left side is divisible by p6. If z is not divisible by p2 then the right side cannot be divisible by p6, which is a contradiction. Therefore, divide x and y by p, and z by p2, giving a smaller solution. This continues until the variables are pairwise coprime.
7x8 + 15y8 = 11z2
If y is divisible by 7 then so is z, and we have reproduced the earlier case. Divide x and y by 7, and z by 74, to find a smaller solution. In the smallest solution, variables are coprime to each other, and each variable is coprime to the other two coefficients.
x3 + y3 = z4
In the following, x y and z are variables, while expressions like x3 are terms.
If the terms, or equivalently the variables, are coprime, there is nothing to talk about. So assume two terms are divisible by p, whence the third term is divisible by p as well. Can this be a minimal solution?
Let pj divide each term, where j is maximal. If the first term is divisible by pj, and the second by pj+1, and the third by pj+7, divide through by pj and look mod p. The first term is nonzero and the other two are zero. This is impossible. Therefore, at least two of the three terms are divisible by precisely pj. The third supports at least j instances of p.
If pj divides all three terms, and there are no factors of p beyond j, then the exponents all divide j. In our example, j might be 12. Divide x and y by p4, and z by p3. This is a smaller solution. When the solution is minimal, exactly one of the three terms contains more than j instances of p.
If two terms, with exponents l and m, have j factors of p, then j is a multiple of l and m. Let j = lcm(l,m) for convenience. If the third exponent n divides into j, divide x by pl/j, y by pm/j, and z by pn/j, and the equation still holds, producing a smaller solution.
This is often used when two of the three exponents are equal, as shown in our example. Suppose the second and third terms are divisible by precisely pj, while the first term is divisible by more than pj. Now j is a multiple of 3 and 4, so call it 12. The first exponent is 3, just like the second. It is going to divide the lcm of 3 and anything; in this case it divides into 12. So we can divide the variables by various powers of p and find a smaller solution. In a minimal solution, the first two terms, carrying the same exponent, have the same powers of p. This is illustrated by the minimal solution 93 + 183 = 94. Since x and y share a common factor of 3, they are both divisible by the same power of 3, namely 9.
Here is another example of a minimal triple whose variables are all divisible by 3. In this case the first two variables have only one factor of 3 each.
333 - 63 = 1892