Converting number bases
Given: 50ten
Find: base 3 representation
d5 d4 d3 d2 d1 d0
weight 243 81 27 9 3 1
digit     1 2 1 2
result remainder
start 50
50/3 16 2
16/3 5 1
5/3 1 2
1/3 0 1