|
Further Examples: IntegerDigits
Here is a list of the decimal digits of in bases and .
In[1]:= 
Out[1]= 
In[2]:= 
Out[2]= 
The function ToNegabinary gives the base representation of integers.
In[3]:= 
In[4]:= 
Out[4]= 
Given the negabinary representation of an integer, FromNegabinary gives back the integer.
In[5]:= 
In[6]:= 
Out[6]= 
|