Algebra
Aptitude

 Back to Questions
Q.

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?

 A.

10 year

 B.

38 year

 C.

39 year

 D.

46 year

 Hide Ans

Solution:
Option(B) is correct

Ram's present age = 26.

He will be $4^3=64$

So, required time is,

$=(64-26)$

$= \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



Subham
 ()

Not satisfied with the justification



Deepak
 ()

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
000
111
248
3927

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

OR....

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.
Smile