**Reference: Popular Problems and Puzzles in Mathematics, Asok Kumar Mallik, Foundation Books, IISc Press.
**

**Amazon India link:**

**Fermat’s Problem:**

Pierre de Fermat (1601-65), the great French mathematical genius, is described as the “Prince of Amateurs”, as he was not a professional mathematician and never published any work during his lifetime. As a civil servant, he served in the judiciary and spent his leisure with mathematics as his hobby. He corresponded with the best of mathematicians of his time. He teased the contemporary English mathematicians, Wallis and Digby, with the following problem, who had to admit defeat:

26 is a number that is sandwiched between a perfect square (25) and a perfect cube (27). Prove that there is no such number.

**Solution:**

We show that the equation has only one solution for positive integers x and y, viz., and . First, we write . It can be shown that unique prime factorization occurs in the complex number system . It can be also argued that since the product of the two complex numbers of that form is a cube, each factor must be a cube. So, we write:

.

Equating imaginary parts of both sides, we get

.

Thus, and , both having the same sign. But, with , one gets , which is not possible. So, we take when . Finally, with , and with . The sign of x is irrelevant as only is involved in the original equation. With the solution , we get as the only set of solution.

**Cheers,**

**Nalin Pithwa.**