GATE / CS ARCHIVE

GATE CSE 2015 SET 3 / QUESTION 59

GATE CSE 2015 Set 3 Q59

Digital Logic · Number Systems & Computer Arithmetic · Full GATE CSE 2015 Set 3 paper

GATE 2015 Set 3, Q59 2 marks · NAT
Report issue

Number Systems & Computer Arithmetic

Question 59, GATE 2015: In positional notation, (43) base x equals (y3) base 8, where x is a valid integer base and y is a valid octal digit. How many (x,y) solutions are possible?
Tap to enlarge
Answer & solution

Official answer: 5

Step through it (9 steps)

1. The complete pairs are (x,y)=(6,3),(8,4),(10,5),(12,6),(14,7). The apparent pair (4,2) is invalid because digit 4 cannot occur in base 4; larger y cannot occur in base 8.

2. The equality gives 4x+3=8y+3, hence x=2y. The base must exceed its largest digit 4, so x≥5, and the octal digit y lies between 0 and 7. Thus y=3, 4, 5, 6, 7 and x=6, 8, 10, 12, 14, giving five solutions.

Original paper, page 76 · Answer key