Challenge 63

Octagenarian and his great-grandson

Difficulty level:

David Gama had a dream: an octogenarian, without much to do, reflected on his life. The elder found that the difference between the cubes of the digits of his age was equal to the square of his great-grandson's age. When he awoke, David Gama wanted to know how old they were.