JAMB 2018 Mathematics · Question 42

If y = 23five_{five} + 101three_{three} , find y, leaving your answer in base two

Options

  1. A.1110
  2. B.10111
  3. C.11101
  4. D.111100

Answer: B. 10111

Explanation written with AI and checked against the answer key

To solve this problem, we need to convert both numbers from their respective bases (base 5 and base 3) into base 10, add them together, and then convert the result into base 2.

Step 1: Convert 23five23_{five} to base 10

To convert from base nn to base 10, we multiply each digit by the base raised to the power of its position (starting from 0 on the right).

23five=(2×51)+(3×50)23_{five} = (2 \times 5^1) + (3 \times 5^0) 23five=(2×5)+(3×1)23_{five} = (2 \times 5) + (3 \times 1) 23five=10+3=13ten23_{five} = 10 + 3 = 13_{ten}

Step 2: Convert 101three101_{three} to base 10

101three=(1×32)+(0×31)+(1×30)101_{three} = (1 \times 3^2) + (0 \times 3^1) + (1 \times 3^0) 101three=(1×9)+(0×3)+(1×1)101_{three} = (1 \times 9) + (0 \times 3) + (1 \times 1) 101three=9+0+1=10ten101_{three} = 9 + 0 + 1 = 10_{ten}

Step 3: Add the two values in base 10

y=13ten+10ten=23teny = 13_{ten} + 10_{ten} = 23_{ten}

Step 4: Convert 23ten23_{ten} to base 2

We perform repeated division by 2 and record the remainders:

  • 23÷2=1123 \div 2 = 11 remainder 1
  • 11÷2=511 \div 2 = 5 remainder 1
  • 5÷2=25 \div 2 = 2 remainder 1
  • 2÷2=12 \div 2 = 1 remainder 0
  • 1÷2=01 \div 2 = 0 remainder 1

Reading the remainders from bottom to top, we get 10111.

Conclusion

Comparing our result to the options provided, we see that 10111210111_2 matches option B.

Exam Tip: When converting from base 10 to any other base, always remember to read your remainders from the bottom to the top (the last remainder is the Most Significant Digit). Also, ensure you don't confuse the powers of the base—always start from 00 on the far right digit.

AI can make mistakes. Report anything that looks wrong.

Past questions © the examination body (JAMB/WAEC/NECO). DeeepSolve is not affiliated with them. Rights holders: see /copyright.