How Do You Convert 212 from Decimal to Base-9?

  • Thread starter Thread starter soopo
  • Start date Start date
  • Tags Tags
    Convert
AI Thread Summary
To convert the decimal number 212 to base-9, the process involves expressing 212 as a sum of multiples of powers of 9. The calculation shows that 212 can be broken down into 2 times 9 squared, 5 times 9, and 5, leading to the base-9 representation of (255)₉. The method includes dividing 212 by 9 to find the coefficients for each power of 9, confirming that 212 equals 9 times 23 plus 5. The final result is verified as correct, demonstrating the conversion process effectively.
soopo
Messages
222
Reaction score
0

Homework Statement


How can you convert 212 in base-10 to base-9?

The Attempt at a Solution



There are holes in the sequence of figures when considering 212 in base-9.
There are 21 holes in the line. There also holes from 90 to 99 and from 190 to 199.
There are then 40 (= 23+10+10-1) holes in the line, since 198 belongs to the previous sets already.
This suggests me that the figure in base-9 is at least 242.
However, the correct answer is 248.
 
Last edited:
Physics news on Phys.org
21210 = 2*102 + 1*101 + 2*100

What you want to do is write this number as the sum of multiples of powers of 9, which are 1, 9, 81, 243, and so on.

How many 81's (= 92) are there? That will be you digit in the 92 place.
If there's a remainder after subtracting of the 81's, how many 9's are there in that remainder? That will be your digit in the 9's place.
If there's a remainder (and it better be 5) that will be your 1's place.

If you're converting 21210 to its base-9 equivalent, 248 IS NOT the correct answer. I don't understand what you're talking about with holes in the line.
 
soopo said:

Homework Statement


How can you convert 212 in base-10 to base-9?

The Attempt at a Solution



There are holes in the sequence of figures when considering 212 in base-9.
There are 21 holes in the line. There also holes from 90 to 99 and from 190 to 199.
There are then 40 (= 23+10+10-1) holes in the line, since 198 belongs to the previous sets already.
This suggests me that the figure in base-9 is at least 242.
However, the correct answer is 248.

The answer should be (255)_{9} . Correct me if I'm wrong.
212=207+5=23*9+5
23=2*9+5
2=0*9+2

Combining all together,

212=9(2*9+5)+5=2*9²+5*9+5
Suggesting 212=(255)_{9}
 
Last edited:
Yes, 255 is right. That's easy enough to check: 2*9^2+5*9+5=212.
 
The quick way to do this is: divide 212 by 9. 9 divides into 212 23 times with remainder 5. 9 divides into 23 twice with remainder 5: 21210= 2559.

That is because saying that 9 divides into 212 23 times with remainder 5 means that 212= 9(23)+ 5. Since 9 divides into 23 twice with remainder 5, 212= 9(9(2)+ 5)+ 5= 2(92)+ 5(9)+ 5.
 
I tried to combine those 2 formulas but it didn't work. I tried using another case where there are 2 red balls and 2 blue balls only so when combining the formula I got ##\frac{(4-1)!}{2!2!}=\frac{3}{2}## which does not make sense. Is there any formula to calculate cyclic permutation of identical objects or I have to do it by listing all the possibilities? Thanks
Since ##px^9+q## is the factor, then ##x^9=\frac{-q}{p}## will be one of the roots. Let ##f(x)=27x^{18}+bx^9+70##, then: $$27\left(\frac{-q}{p}\right)^2+b\left(\frac{-q}{p}\right)+70=0$$ $$b=27 \frac{q}{p}+70 \frac{p}{q}$$ $$b=\frac{27q^2+70p^2}{pq}$$ From this expression, it looks like there is no greatest value of ##b## because increasing the value of ##p## and ##q## will also increase the value of ##b##. How to find the greatest value of ##b##? Thanks
Back
Top