GateAI
Number Representation and Arithmetic

GATE CSE 2014 Set 2 · Q8

NAT1 markMedium

Time

Consider the equation (123)5=(x8)y(123)_5 = (x8)_y with xx and yy as unknown. The number of possible solutions is ________.

Your answerNumerical answer

Enter a value to check

Solution

Step-by-step verified solution

Official answer: 3

Number Representation and Arithmetic

Given the equation:

(123)5=(x8)y(123)_5 = (x8)_y

Converting both sides to base 10:

LHS=1×52+2×51+3×50=25+10+3=38\text{LHS} = 1 \times 5^2 + 2 \times 5^1 + 3 \times 5^0 = 25 + 10 + 3 = 38
RHS=x⋅y1+8⋅y0=xy+8\text{RHS} = x \cdot y^1 + 8 \cdot y^0 = x y + 8

Equating both sides:

xy+8=38  ⟹  xy=30x y + 8 = 38 \implies x y = 30

Now consider the valid constraints for base yy and digits x,8x, 8:

  1. Since the digit 88 is in base yy, the base must satisfy y>8y > 8.

  2. The leading digit must satisfy 1≤x<y1 \le x < y.

  3. xx and yy must be positive integers.

The factors of 3030 are 1,2,3,5,6,10,15,301, 2, 3, 5, 6, 10, 15, 30.

Selecting y>8y > 8:

  • For y=10y = 10: x=3010=3x = \frac{30}{10} = 3 (valid since 1≤3<101 \le 3 < 10)

  • For y=15y = 15: x=3015=2x = \frac{30}{15} = 2 (valid since 1≤2<151 \le 2 < 15)

  • For y=30y = 30: x=3030=1x = \frac{30}{30} = 1 (valid since 1≤1<301 \le 1 < 30)

Thus, there are 3 possible pairs (x,y)∈{(3,10),(2,15),(1,30)}(x, y) \in \{(3, 10), (2, 15), (1, 30)\}.

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

This Number Representation and Arithmetic previous year question is Q8 of the GATE CSE 2014 Set 2 paper. Find more GATE CSE PYQs on Number Representation and Arithmetic in Digital Logic, or browse all GATE CSE PYQs.

Free diagnostic

Where do you stand for GATE?

Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Number Representation and Arithmetic PYQs now with no account.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

Number Representation and Arithmetic in GATE CSE

Number Representation and Arithmetic has 33 GATE CSE PYQs across 20 papers from 2012 to 2026. 11 of them are 1-mark NAT questions like this one, and GATE CSE 2014 Set 2 has 2.

How GATE tests Number Representation and Arithmetic

More from GATE CSE 2014 Set 2

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2014 Set 2 · Q8 · NAT

Consider the equation (123)5 = (x8)y with x and y as unknown. The number of possible solutions is …

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.