Problem #1
In a cryptarithm, numbers are represented by replacing their digits by
letters; a given letter consistently represents the same digit and
different letters represent different digits. Solve the following
cryptarithm:
THREE is a prime number,
FOUR is a perfect square, and
EIGHT is a perfect cube.