There is analog problem at negabinary number system. For example: (5#_2)#:10 0 _1 0 _1 0 (5#_2)#:_10 _1 _1 _1 _1 0
It is true, if we will using (0 _1) digits, else my solution
-(5#_2)#:-( 10)
1 1 1 1 0
-(5#_2)#:-(_10)
0 1 0 1 0
The inverse problem is true.
_2#.0 1 0 1 0
_10
_2#.1 1 1 1 0
10
Istvan Kadar
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
