Hi Yves, I'm not sure how you're interpreting J's base number notation but it is certainly correct in the examples you mention.
For instance, 5 in base 4 is indeed 11 because 5=+/1 1*4^1 0 or "1" in the 1s column plus 1 in the 4s column equals 5. In fact this is exactly the same as substituting "4" for "3" in your example > 11 in base 3 is > (1*3^1)+(1*3^0) > 4 It looks like you may be interpreting the results backwards in some sense. In the example of 3b102, this gives you the decimal value of the base 3 number "102", or +/1 0 2*3^2 1 0 which is 1 in the 9s (3^2) column plus 0 in the 3s (3^1) column plus 2 in the 1s (3^0) column. In any case, I don't think I have ever found the "b" notation to be particularly useful. Cheers, Devon On Tue, Jun 7, 2022 at 10:35 AM Raul Miller <rauldmil...@gmail.com> wrote: > On Tue, Jun 7, 2022 at 10:25 AM yt <yves.tan...@frmail.net> wrote: > > J has other number notations that use letters: > > ) > > 3b102 NB. base (102 in base 3) > > 11 > > > > my eyes are horrified by the result > > > > 11 in base 3 is > > (1*3^1)+(1*3^0) > > 4 > > The displayed result you got when you entered 3b102 was *not* 3b11 it > was 11 (so it was represented in base 10). > > I hope this helps, > > -- > Raul > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > -- Devon McCormick, CFA Quantitative Consultant ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm