Back to Questions

Ram's age was square of number last year and it will be cube of a number next year. How long must he wait before his age is again a cube of a number?


10 year


38 year


39 year


46 year

 Hide Ans

Option(B) is correct

Ram's present age = 26.

He will be $4^3=64$

So, required time is,


$= \textbf{38 years}$

Edit: Thank you Deepak for the detailed explanation in the comments.

Edit 2: For an alternative approach to solving the question, check comment by Sravan Reddy.

(3) Comment(s)

Sravan Reddy

Another kill...

Possible age cubes - 1,8,27,64 (generally exams don't go to 125 as they will be realistic in numbers)

=> so subtraction by 2 is a square - -1, 6, 25, 62 - 25 so 26 is the age, next cube is 64 - so 38 years more


Not satisfied with the justification


Another way of explanation could be as following:

last year $(y-1) = a^2$

next year $(y+1)=b^3$

when will Ram' age be a perfect square AND a perfect cube?

When Ram is 1.

Ram's ageRam's age squaredRam's age cubed

the only time Ram's AGE will be a square AND cube number all matching is when Ram is 1.


when will Ram's age MINUS one be ANY square number AND Ram's age PLUS one be any cubed number...
(We are looking for perfect squares and perfect cubes that are a difference of 2)

25, 27

Ram is 26... a yr ago he was $5^2$, next year he will be $3^3$

64 is $8^2$ AND $4^3$ so that is the time when Ram will be cubed & squared.

If Ram is 26, He has 38 years to wait.