firstly, we're working with a pretty finite set of possibilities - six-digit cubes and four-digit squares. Eliminate the ones that have any digit in them more than once. Compare the two sets of results with each other and eliminate those that end in a digit with which none of the numbers in the other set end. From there its a pretty simple task of eliminating digit combinations that don't fit the pattern for the U and E. You're left with:
SQUARE = 328509 (69^3)
CUBE = 1849 (43^2)
(by the way, MS Excel helps a lot.)
Edited on August 4, 2009, 12:46 pm