MHB Convert 243 to Base 3 using Digit 5

  • Thread starter Thread starter gEOdude
  • Start date Start date
  • Tags Tags
    Systems
AI Thread Summary
To convert the decimal number 243 to base 3 using the digit 5, the calculation for the base (n) is determined by the formula n = d % 6 + 2, resulting in n = 3. The conversion of 243 to base 3 yields the representation {100000}_3. The discussion clarifies that the modulus operator (%) is used to find the remainder in this context. The calculations and results are confirmed to be correct. This conversion process illustrates the application of mathematical principles in base conversion.
gEOdude
Messages
25
Reaction score
0
Guys Can you help me out, i don't know if I've done this right.

Question:
243 is a decimal number. You must convert it to base n, where n will be computed using the
digit (d) 5.
For example if your digit (d) was "7" , then n is
calculated as: n = d % 6 +2(where d=7)=7%6 + 2 = 3My Working:

n = d % 6 + 2 (where d=5) = 5%6 + 2 = 3
243 to the base of 3 = {100000}_{3}
 
Physics news on Phys.org
HELPMEHELPME said:
n = d % 6 + 2 (where d=5) = 5%6 + 2 = 3
Sometimes, e.g., in the C programming language, % denotes taking the remainder.
 
Back
Top