This question was asked in Ex 1.3,1
Please tell me how to solve exercise 1.3 of chapter number system 

Avik Chaudhary's image