it can be shown that every integer can be uniquelyrepresented in the form of
where =-1,0,or 1 for j=0,1,2,...,k
expansion of this type are called balanced ternary expansion.
find balanced ternary expansion of
a)5 b)13 c)37 d)79

Respuesta :

a. [tex]5_{10}=1(-1)(-1)_{\mathrm{bal}3}[/tex] because

5 = 9 - 3 - 1 = 3^2 - 3^1 - 3^0

b. [tex]13_{10}=111_{\mathrm{bal}3}[/tex] because

13 = 9 + 3 + 1 = 3^2 + 3^1 + 3^0

c. [tex]37_{10}=1101_{\mathrm{bal}3}[/tex] because

37 = 27 + 9 + 1 = 3^3 + 3^2 + 3^0

d. [tex]79_{10}=100(-1)1_{\mathrm{bal}3}[/tex] because

79 = 81 - 3 + 1 = 3^4 - 3^1 + 3^0

ACCESS MORE