This question was asked in Ex 1.1, 5
Why you take B=3 in this question 
Number system
Class 10 
Ex 1.1 
Q. 5 
Iron Harsh's image