Pre PYQs CSAT

UPSC Prelims 2017 CSAT question 53

The age of Mr. X last year was the square of a number and it would be the cube of a number next year. What is the least number of years he must wait for his age to become cube of a number again?