# Decimal Number to Octal

I have the number $9243$ In Decimal (Base 10), I'm trying to convert it to octal and then Binary.

What I've done is (r IS THE REMAINDER)

$4096 | 9243| 2$

$R = 1051$

$512|1051| 2$

$r = 27$

$8|27|3$

$R = 3$

$0|3|3$

SO I got a value of $2233$ In Octal

But the answer is 22033, where did I go Wrong? And how would I go about converting the correct answer to binary?

• I'm not sure what the "p|q|r" notation means. This is how I would do this problem: 8 divides into 9423 1177 times with remainder 7: 9423= (1177)(8)+ 7. – user247327 Sep 26 '15 at 14:17
• As in, 4096 divides into 9243 2 times, remainder 1051 – user20842454566 Sep 26 '15 at 14:20
• i'm not sure how I would get 22033 with your method. Can you explain more? – user20842454566 Sep 26 '15 at 14:22
• For what it's worth, I find it easier to convert to binary first and then to octal. Well, to be honest, I mostly let my calculator do these. – Robert Soupe Sep 26 '15 at 17:47
• Unfortunately my professor does not permit calculators for this class. – user20842454566 Sep 26 '15 at 18:01