Asked by Heather
How do you convert a number to whatever base it indicates? For example: convert 252 base six to base five. I have tried posting for my teacher to help me, but he doesn't seem to get what I am asking. Can someone please explain the process and not just the answer? Thanks!!
Answers
Answered by
MathMate
Most of the time, you would convert numbers from "foreign" bases to base 10, then convert to the target base by division.
From a number in base n, we recognize that each digit from the right represents n^x, where x is the position from the right.
So 252<sub>6</sub>
= 2*6² + 5*6¹ + 2*6^0
= 72 + 30 + 2
= 104<sub>10</sub>
To convert 102<sub>10</sub> to base 5, we divide by 5 successively and collect the remainders as digits from the right.
102/5=20R4
20/5=4R0
4/5=0R4
So 102<sub>10</sub> = 404<sub>5</sub>
From a number in base n, we recognize that each digit from the right represents n^x, where x is the position from the right.
So 252<sub>6</sub>
= 2*6² + 5*6¹ + 2*6^0
= 72 + 30 + 2
= 104<sub>10</sub>
To convert 102<sub>10</sub> to base 5, we divide by 5 successively and collect the remainders as digits from the right.
102/5=20R4
20/5=4R0
4/5=0R4
So 102<sub>10</sub> = 404<sub>5</sub>
Answered by
Heather
Thanks. How did it change from 104 base 10 to 102?
Answered by
DENISE
102ten to base 5 is not 404five it is 402five
102/5=20 r 2
20/5=4 r 0
4/5 =0 r 4
so that gives you 402five
102/5=20 r 2
20/5=4 r 0
4/5 =0 r 4
so that gives you 402five
There are no AI answers yet. The ability to request AI answers is coming soon!