Question
Consider the equation with and as unknown. The number of possible solutions is _____.
Official answer and solution
- Official answer
- 3
- From
- Official GATE 2014 answer key
Solution
Convert both sides of the base-equation to decimal and enforce constraints on valid radix digits.
Given .
-
Convert to Decimal:
- Left-hand side in base 5:
- Right-hand side in base :
- Left-hand side in base 5:
-
Set up the Equation:
-
Apply Base and Digit Constraints:
- In base , the digit appears, so the base must be strictly greater than :
- is the leading digit, so .
- and must be positive integers.
- In base , the digit appears, so the base must be strictly greater than :
-
Factor Pairs of 30 with :
- If : (, valid).
- If : (, valid).
- If : (, valid).
- If : violates .
-
There are exactly 3 valid solutions: .
3
Including y = 6 (with x = 5), which is invalid because digit 8 cannot exist in base 6.
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2014 Computer Science and Information Technology (CS) Session 2
- Question
- 18 of 65, printed as CS Q.8
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.