GATE / CS ARCHIVE

GATE CSE 2014 SET 2 / QUESTION 8

GATE CSE 2014 Set 2 Q8

Digital Logic · Number Systems & Computer Arithmetic · Full GATE CSE 2014 Set 2 paper

GATE 2014 Set 2, Q8 1 mark · NAT
Report issue

Number Systems & Computer Arithmetic

Question 8, GATE 2014: In the numeral equation (123) base 5 = (x8) base y, x is a leading digit and y is an integer base. How many pairs (x,y) are possible?
Tap to enlarge
Answer & solution

Official answer: 3

Step through it (9 steps)

1. Set up the reasoning. Convert the known numeral to decimal: 1×5²+2×5+3=38. The other numeral equals xy+8, so admissible pairs must satisfy xy=30.

2. Derive the result. (123)₅=25+10+3=38, so xy+8=38 and xy=30. A valid base y>8 and a leading digit 1≤x<y leave(x, y)=(1, 30),(2, 15),(3, 10). Thus3 solutions.

3. Check the interpretation. Digit validity is essential: the digit 8 requires y≥9, and x must satisfy 1≤x<y. Check the factor pairs of 30 against these constraints rather than counting every factorization.

Original paper, page 31 · Answer key