see http://www.diophante.fr/problemes-du-mois/5421-e5913-devinettes-a-quatre
Output:
Number of D hands with a unique deal : 213
Values of k! for those deals : [24, 120, 720, 5040, 40320]
- deals with k! = 24 : 2 eg. ((5, 7, 11, 13), (10, 12, 14, 16), (1, 2, 3, 4), (6, 8, 9, 15))
- deals with k! = 120 : 40 eg. ((3, 7, 11, 13), (10, 12, 14, 16), (1, 4, 5, 6), (2, 8, 9, 15))
- deals with k! = 720 : 102 eg. ((5, 7, 11, 13), (10, 12, 14, 16), (2, 4, 6, 15), (1, 3, 8, 9))
- deals with k! = 5040 : 38 eg. ((3, 5, 11, 13), (10, 12, 14, 16), (6, 7, 8, 15), (1, 2, 4, 9))
- deals with k! = 40320 : 31 eg. ((5, 7, 11, 13), (4, 6, 8, 10), (12, 14, 15, 16), (1, 2, 3, 9))