On 2020-07-19 10:31, Brian Schott wrote:
Yes, I see the problem you are describing better now.
This behavior for powers of 2 is dissimilar with other power bases.
It suggests a flaw in the algorithm for ?. .
?.2^11
1826
?.2^12
1826
?.2^13
1826
NB. compared to the following
?.3^11
35532
?.3^12
212679
?.3^13
1275561
#@~."1 (?."0 ,: ?.) 2^i.20
7 18
#@~."1 (?."0 ,: ?.) 3^i.20
13 20
It's only not as obvious with powers of 3.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm