UPSC CSE Prelims 2017
The problem states that Mr. X's age last year was the square of a number, and his age next year will be the cube of a number. The difference between these two ages is two years.
Let Mr. X's age last year be represented as y² and his age next year as z³. The condition can be expressed as: z³ - y² = 2.
We systematically test perfect cubes (z³) to find a corresponding perfect square (y²):
Therefore, Mr. X's age last year was 25, and his age next year will be 27. His current age is calculated as 25 + 1 = 26 years (or 27 - 1 = 26 years).
The next perfect cube following 27 is 64 (which is 4³). To determine the least number of years Mr. X must wait for his age to become a perfect cube again, we subtract his current age from the next perfect cube:
Years to wait = 64 - 26 = 38 years.
These options do not result in Mr. X's age becoming a perfect cube.