You are here:

Advanced Math/converting to octal

Advertisement


Question
When doing this conversion from decimal to octal:
129, the correct answer is 201o, why is there a 0  between the 2 and 1? I got 21 as the answer.

Answer
129/8 = 16.125, 16 with remainder of .125
.125 * 8 = 1

Octal = 1

16/8 = 2.0, 2 with no remainder
0 * 8 = 0

Octal = 01

2/8 = 0.25, 0 with remainder of .25
.25 * 8 = 2

Octal = 201

ANS : 201

Correction
As for your answer, if i were to go from Octal 21 to Decimal, you would get

2 * 8^1 + 1 * 8^0 = (2 * 8) + 1 = 16 + 1 = 17 and not 201

Proof
If i were to go from 201 Octal to Decimal, then

(2 * 8^2) + (0 * 8^1) + (1 * 8^0)
(2 * 64) + 0 + 1
128 + 1 = 129

Advanced Math

All Answers


Answers by Expert:


Ask Experts

Volunteer


Sherman D.

Expertise

I can answer questions dealing in mathematics of all kinds except for Physics and Calculus, but i can answer questions in Pre-Calculus and Chemistry. I can also answer questions in Recipes of all kinds. I can find games cheats/walkthroughs, but i can`t find a specific game online or offline. I can also do history and recipes for alcoholic beverages.

Experience

Mathematics, Recipes, History, and Games.

Education/Credentials
High School graduated. I graduated with honors, and i was in Beta Club for a year and a half.

Awards and Honors
Principle's list and A and B honor roll in high school only.

©2012 About.com, a part of The New York Times Company. All rights reserved.