Quote:
Originally Posted by .mba
AB is a two digit number in base n such that (AB)to base n = 5(BA)to base n.
Which of the following is a possible vale of n?
(1) 12
(2) 14
(3) 16
(4) 21
|
given (AB)n = 5(BA)n
An + B = 5Bn + 5A
A(n-5) = (5n - 1)B
A/B = 5n-1/n-5
now for n = 12 we get A/B = 59/7...which not possible as A shub be from 0 to 11
now for n = 14 we get A/B = 69/9 = 23/3 not possible
now for n = 16 we get A/B = 79/11..not possible
now for n = 21 we get A/B = 104/16 = 13/2...which can be possible in the base system of 21..hence ans is 21