Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
A self-delimiting number representation
ResourceFunction["BinaryCodedTernary"][n] gives the digits for the integer n encoded in binary-coded ternary. |
Binary-coded ternary for 9:
In[1]:= |
Out[1]= |
Binary-coded ternary for numbers up to 30:
In[2]:= |
Out[2]= |
Wolfram Language 11.3 (March 2018) or above
This work is licensed under a Creative Commons Attribution 4.0 International License