Multiple ways of working this. The easy way is: specify the base rather than the digits. The digits are. }.i.base (and use base#. to assemble them.)
A harder way would be to use load’convert’ and then dfh on the digits. An even harder way would be to use 16ba 16bb 16bc 16bd 16be 16bf as the extra digits. I hope this helps. Thanks, — Raul On Tuesday, March 5, 2019, David Lambert <[email protected]> wrote: > I submitted entries to many newly seen by me rosetta code tasks. There was > some low hanging fruit, such as involving totients. > > There is a stretch goal for http://rosettacode.org/wiki/La > rgest_number_divisible_by_its_digits to work in base 16. I solved the > problem in base 7 instead to show how it might be done without bothering to > figure out if I had the resources for all permutations of all combinations > of fifteen digits. 0 isn't one of the digits. > > Enjoy, Dave > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
