Элементы дискретной математики. Часть I - 120 стр.

UptoLike

b
k
k n, b
i
∈{0, 1,...,n 1},
i =0, 1,...,k,
b
i
n :
for i =0to k do b
i
=0;
while b
k
=1do
print(b
k1
,b
k2
,...,b
0
);
i =0;
while b
i
= n 1 do
b
i
=0;
i = i +1;
b
i
= b
i
+1.
N
n
= {1, 2,...,n}. k
C(6, 3) = 20
N
6
= {1, 2, 3, 4, 5, 6}
a
1
<a
2
<a
3
, a
i
N
6
,i=1, 2, 3,
123 135 234 256
124 136 235 345
125 145 236 346
126 146 245 356
134 156 246 456
a
1
=1,a
2
=2, a
k
= k.
a
1
,a
2
,...,a
k
a
j
, a
j
+1
a
j
a
1
= n k +1,
a
k
= n a
j
a
1
,
a
k
,
a
1
= a
1
,...,a
j1
= a
j1
,a
j
= a
j
+1,a
j+1
= a
j
+1,...,a
k
= a
k1
+1.