Sum of two cubes


In mathematics, the sum of two cubes is a cubed number added to another cubed number.

Factorization

Every sum of cubes may be factored according to the identity
in elementary algebra.
Binomial numbers generalize this factorization to higher odd powers.

Proof

Starting with the expression, and multiplying by
distributing a and b over,
and canceling the like terms,
Similarly for the difference of cubes,

"SOAP" mnemonic

The mnemonic "SOAP", short for "Same, Opposite, Always Positive", helps recall of the signs:

Fermat's Last Theorem

in the case of exponent 3 states that the sum of two non-zero integer cubes does not result in a non-zero integer cube. The first recorded proof of the exponent 3 case was given by Euler.

Taxicab and Cabtaxi numbers

A Taxicab number is the smallest positive number that can be expressed as a sum of two positive integer cubes in n distinct ways. The smallest taxicab number after Ta = 2, is Ta = 1729, expressed as
Ta, the smallest taxicab number expressed in 3 different ways, is 87,539,319, expressed as
A Cabtaxi number is the smallest positive number that can be expressed as a sum of two integer cubes in n ways, allowing the cubes to be negative or zero as well as positive. The smallest cabtaxi number after Cabtaxi = 0, is Cabtaxi = 91, expressed as:
Cabtaxi, the smallest Cabtaxi number expressed in 3 different ways, is 4104, expressed as