Convert 243 to Base 3 using Digit 5

  • Context: MHB 
  • Thread starter Thread starter gEOdude
  • Start date Start date
  • Tags Tags
    Systems
Click For Summary
SUMMARY

The discussion focuses on converting the decimal number 243 to base 3, calculated using the digit 5. The formula used is n = d % 6 + 2, where d equals 5, resulting in n = 3. The conversion yields the representation of 243 in base 3 as {100000}_{3}. This process is clarified with a reference to the C programming language, where the % operator denotes the remainder.

PREREQUISITES
  • Understanding of base conversion principles
  • Familiarity with the modulus operator in programming
  • Basic knowledge of number systems
  • Experience with mathematical calculations involving remainders
NEXT STEPS
  • Research the process of converting numbers between different bases
  • Learn about the modulus operator in various programming languages
  • Explore advanced base conversion techniques and algorithms
  • Study the implications of base systems in computer science
USEFUL FOR

Mathematicians, computer science students, programmers, and anyone interested in number theory and base conversions.

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.
 

Similar threads

Replies
7
Views
1K
  • · Replies 12 ·
Replies
12
Views
2K
Replies
9
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K