Total asymmetric relations

  

Confer my blog on this issue: Jenseits von Schere, Stein und Papier.

Warning The runtime increases dramatically from N ≥ 7 onwards; whether it terminates or not, only depends on your computer's processor power and memory size.