1
   

Ternary Expansion

 
 
RK4
 
Reply Wed 14 Sep, 2005 07:03 pm
Hi all! I need to:

Show that every nonzero integer can be uniquely represented in the form:

e_k*3^k + e_(k-1)*3^(k-1) + . . . + e_1*3 + e_0

where e_j = -1, 0, or 1 for j = 0, 1, 2, . . . , k and e_k is not equal to zero. This expansion is called a balanced ternary expansion.

Thanks!
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Discussion • Score: 1 • Views: 3,041 • Replies: 2
No top replies

 
markr
 
  1  
Reply Wed 14 Sep, 2005 10:40 pm
I'd guess that you need to demonstrate a bijection between ternary and balanced ternary.

Note the following relationships:
ternary --- balanced ternary
0 = 0
1 = 1
2 = 1 -1
0 Replies
 
raprap
 
  1  
Reply Wed 14 Sep, 2005 10:56 pm
I this is a base three expansion even though one of the base numbers is negative. Like all other bases, any integer will be uniquely represented.

See balanced ternary

Rap
0 Replies
 
 

Related Topics

Evolution 101 - Discussion by gungasnake
Typing Equations on a PC - Discussion by Brandon9000
The Future of Artificial Intelligence - Discussion by Brandon9000
The well known Mind vs Brain. - Discussion by crayon851
Scientists Offer Proof of 'Dark Matter' - Discussion by oralloy
Blue Saturn - Discussion by oralloy
Bald Eagle-DDT Myth Still Flying High - Discussion by gungasnake
DDT: A Weapon of Mass Survival - Discussion by gungasnake
 
  1. Forums
  2. » Ternary Expansion
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.04 seconds on 06/22/2024 at 08:47:22