Combinations of 4 objects from 7 objects


1
2
3
4
4
5
6
7
1
2
3
5
1
1
1
1
1
2
3
6
1
1
1
1
1
2
3
7
1
1
1
1
1
2
4
5
1
1
1
0
1
2
4
6
1
1
1
1
1
2
4
7
1
1
1
1
1
2
5
6
1
1
1
0
1
2
5
7
1
1
1
1
1
2
6
7
1
1
1
0
1
3
4
5
1
1
0
0
1
3
4
6
1
1
1
1
1
3
4
7
1
1
1
1
1
3
5
6
1
1
1
0
1
3
5
7
1
1
1
1
1
3
6
7
1
1
1
0
1
4
5
6
1
1
0
0
1
4
5
7
1
1
1
1
1
4
6
7
1
1
1
0
1
5
6
7
1
1
0
0
2
3
4
5
1
0
0
0
2
3
4
6
1
1
1
1
2
3
4
7
1
1
1
1
2
3
5
6
1
1
1
0
2
3
5
7
1
1
1
1
2
3
6
7
1
1
1
0
2
4
5
6
1
1
0
0
2
4
5
7
1
1
1
1
2
4
6
7
1
1
1
0
2
5
6
7
1
1
0
0
3
4
5
6
1
0
0
0
3
4
5
7
1
1
1
1
3
4
6
7
1
1
1
0
3
5
6
7
1
1
0
0
4
5
6
7
1
0
0
0


Adopted from: Albert Nijenhuis and Herbert S. Wilf, Combinatorial Algorithms (NEXKSB), pp. 28-29 .