Combinatorial Analysis and Computers
Combinatorial Analysis and Computers
复制标题
组合分析和计算机
DOI:
10.1080/00029890.1965.11970695
复制
发表时间:
1965
期刊:
影响因子:
--
通讯作者:
D. Knuth
中科院分区:
文献类型:
--
作者:
M. Hall;D. Knuth
1. Introduction. The" logical decision-making" characteristics of computers enable them to attack many problems which are not basically numerical. Combinatorial constructions and searches are applications of this kind in which computers have been very successful. The two principal ways in which computers have been used in these problems are: 1) generation of a sequence of combinatorial patterns as part of a larger problem, and 2) constructions and searches for which hand calculations are unfeasible. Since the size of combinatorial problems grows very rapidly, we can usually expect the computer to do only about one case larger than can be done by hand. For example, the problem of constructing a finite plane of order n is equivalent to choosing, in a restricted way,(n-1) 2 of then! permutations on n letters; thus, changing n to n+ 1 will make the problem many orders of magnitude larger.2. Combinatorial sequences. Many computer applications call for the generation of combinatorial sequences such as the set of all permutations on n elements, the set of all combinations of m things taken n at a time, and so on. The simplest combinatorial sequence is the set of all ordered n-tuples (x1, x2,···, x,.) for which 0~ x,< m, 1~ i~ n. This set can, of course, be gener-: tted by repeatedly adding 1 in the m-ary number system; in applications, however, it is usually more useful if the n-tuples are generated in such a way that only one x, changes at each step [5, 7]. The simplest method for doing this is the following: At the kth step, 1~ k< m", add 1 to x,. _,(modulo m) if m'is the highest power of m dividing k. Whenever k is a multiple of m, it is not difficult to prove that this will be the digit immediately left of the rightmost nonzero digit, assuming (0, 0,···, 0) was the starting n-tuple. The case m= 2 gives rise to the so-called Gray binary numbers which have found many engineering applications, and the sequence is the well-known procedure for solving the classical Chinese Ring Puzzle [2].