[net.lang.apl] 0 0 1 0 1, 0 1 0 0 1 in 6 chars

greg (06/02/82)

I just got the latest APL News, and it contained several solutions
to the problem, "write expressions of six characters or less that
produce the vectors 0 1 0 0 1 and 0 0 1 0 1".
My (origin zero) solutions were

2 rotate 2 mod iota 5
and
4 rotate 2 mod iota 5

Several 0-origin and 1-origin solutions were presented to each problem.

				- Greg Johnson
				  U Wis - Madison