A word like 'apt' has to generate at least 3 legal words.

   (#~legalWord"1) (i...@!@# A. ]) 'apt'
apt
atp
pat
pta
tap
tpa

Say they are all legal in this case.

Then generate a matrix/legal_word


   (,....@i.@# |. ])"1 (i...@!@# A. ]) 'apt'
apt
pta
tap

atp
tpa
pat

pat
atp
tpa

pta
tap
apt

tap
apt
pta

tpa
pat
atp

If there are less than !#word legal words, but equal or more than #word
words then check all the generated LS's for the last (<: #word) words
per LS.

 

Hallo Kip Murray, je schreef op 09-10-10 14:13:
> After a discussion of Latin squares in Programming, I am collecting Latin 
> squares whose rows and columns are words from the American Heritage 
> Dictionary. 
>   I will even accept abbreviations:
>
> tap
> apt
> pta
>
> Contributions?
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>   

-- 
Met vriendelijke groet,
=@@i

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to