Convert 243 to Base 3 using Digit 5

  • Context:
  • Thread starter Thread starter gEOdude
  • Start date Start date
  • Tags Tags
    Systems
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
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.