Apopuli.134 net.lang.apl utzoo!decvax!ucbvax!G:shallit Fri Apr 9 14:48:58 1982 Re: Quiz time A solution to this problem was given by Michael Halpern in his IBM technical report "Algebra, Scan, and Permutations". I would be glad to mail copies of his functions to interested parties. /Jeff Shallit, Department of Mathematics, UC Berkeley, Berkeley, CA 94720