First convert 352.

352 = 117 * 3 + 1
       = (39 * 3 + 0) * 3 + 1
       = ((13 * 3 + 0) * 3 + 0) * 3 + 1
       = (((4 * 3 + 1) * 3 + 0) * 3 + 0) * 3 + 1
       = ((((1*3+1) * 3 + 1) * 3 + 0) * 3 + 0) * 3 + 1

So 352 = 111001.

Noting 9 = 3^2, thus 352 / 9 = 1110.01


On 2010-8-31 7:46, Raj N wrote:
In ternary number representation, numbers are represented as 0,1,-1.
(Here -1 is represented as 1 bar.) How is 352/9 represented in ternary
number representation?


--
You received this message because you are subscribed to the Google Groups "Algorithm 
Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to