Hi all!
3!:0 ,+// (|.10^i.4)*/>:i.6
8
The floor operation was not redundant.
Marshalls
,+// (10<.@^i._4)*/>:i.6
can be written
,+// (<.10^i._4)*/>:i.6
,but the floor operation is needed to produce integers.
20 {. ,+// (<.10^i._4)*/>:i.6
1111 1112 1113 1114 1115 1116 1121 1122 1123 1124 1125 1126 1131 1132
1133 1134 1135 1136 1141 1142
$ ,+// (<.10^i._4)*/>:i.6
1296
3!:0 ,+// (<.10^i._4)*/>:i.6
4
Cheers,
Erling Hellenäs
On 2017-10-05 17:20, Linda Alvord wrote:
,+// (|.10^i.4)*/>:i.6
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm