Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Balanced ternary
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Conversion to and from a fraction=== <div style="display: flex; column-gap: 1em; margin-inline-start: 1.5em;"> {| class="wikitable" style="text-align: center;" !Fraction!!colspan="2"|Balanced ternary |- |1||colspan="2"|1 |- |{{sfrac|1|2}}||0.{{overline|1}}||1.{{overline|π³}} |- |{{sfrac|1|3}}||colspan="2"|0.1 |- |{{sfrac|1|4}}||colspan="2"|0.{{overline|1π³}} |- |{{sfrac|1|5}}||colspan="2"|0.{{overline|1π³π³1}} |- |{{sfrac|1|6}}||0.0{{overline|1}}||0.1{{overline|π³}} |- |{{sfrac|1|7}}||colspan="2"|0.{{overline|0110π³π³}} |- |{{sfrac|1|8}}||colspan="2"|0.{{overline|01}} |- |{{sfrac|1|9}}||colspan="2"|0.01 |- |{{sfrac|1|10}}||colspan="2"|0.{{overline|010π³}} |} {| class="wikitable" style="text-align: center;" !Fraction!!colspan="2"|Balanced ternary |- |{{sfrac|1|11}}||colspan="2"|0.{{overline|01π³11}} |- |{{sfrac|1|12}}||colspan="2"|0.0{{overline|1π³}} |- |{{sfrac|1|13}}||colspan="2"|0.{{overline|01π³}} |- |{{sfrac|1|14}}||colspan="2"|0.{{overline|01π³0π³1}} |- |{{sfrac|1|15}}||colspan="2"|0.0{{overline|1π³π³1}} |- |{{sfrac|1|16}}||colspan="2"|0.{{overline|01π³π³}} |- |{{sfrac|1|17}}||colspan="2"|0.{{overline|01π³π³π³10π³0π³111π³01}} |- |{{sfrac|1|18}}||0.00{{overline|1}}||0.01{{overline|π³}} |- |{{sfrac|1|19}}||colspan="2"|0.{{overline|00111π³10100π³π³π³1π³0π³}} |- |{{sfrac|1|20}}||colspan="2"|0.{{overline|0011}} |} </div> The conversion of a repeating balanced ternary number to a fraction is analogous to [[Repeating decimal#Converting repeating decimals to fractions|converting a repeating decimal]]. For example (because of 111111<sub>bal3</sub> = ({{sfrac|3<sup>6</sup> β 1|3 β 1}})<sub>dec</sub>): : <math> 0.1\overline{\mathrm{110TT0} } =\tfrac{\mathrm{1110TT0-1} }{\mathrm{111111\times 1T\times 10}}=\tfrac{\mathrm{1110TTT} } {\mathrm{111111\times 1T0}} =\tfrac{\mathrm{111\times 1000T} } {\mathrm{111\times 1001\times 1T0}} =\tfrac{\mathrm{1111\times 1T}}{\mathrm{1001\times 1T0}} =\tfrac{1111}{10010}=\tfrac{\mathrm{1T1T}}{\mathrm{1TTT0}} =\tfrac{101}{\mathrm{1T10} } </math>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)