Cycle length in a random function
Cycle length in a random function
复制标题
随机函数中的循环长度
DOI:
10.1090/s0002-9947-1968-0228032-3
复制
发表时间:
1968
影响因子:
1.3
通讯作者:
J. H. Williams
中科院分区:
文献类型:
--
作者:
P. Purdom;J. H. Williams
Let X be a finite set of n points and Fn be the class of nn functions from X into X. For anyf E Fn and xo E X, the sequence, x0, xl =f(xO), x2 =f(xl), . . ., is eventually cyclic, i.e. there exists J and there exists 1 such that j>J implies xj = xj + 1. We will call 1 distinct points xi, xi + 1, . . ., xi + 1 1 a cycle if xj + 1 =f(xj) (i<j< i + l-2) and f(xi + -1) = xi. Clearly different choices of the starting value, xo, may lead to different cycles. The length of the longest cycle in a function is of interest in the generation of pseudo-random numbers [1]. We consider the expected value of the length and the mth moment of the length of the ith longest cycle where the function fe Fn is selected at random. Given f E Fn, let Y be the subset of X consisting of all the points in cycles; then f restricted to Y is a permutation. Letting a be any characteristic of the cycle structure of a functionf E Fn (e.g. a -the longest cycle is of length 1), we first find a formula relating the number of functions with characteristic a to the number of permutations with characteristic a. We then use the results of Shepp and Lloyd [2] giving asymptotic expressions for the expected values of the various moments of cycle lengths in permutations to find the asymptotic expressions for these values for functions. We say that a function f directly connects xi to xj if xj =f(xi) and that f connects xi to xj if there is a sequence of directly connected points starting with xi going to xj. Then the subset, Y, consists of just those points that are connected to themselves. We say that a subset Zc X is a tree rooted on a point xm if: (1) xm c X-Z, (2) x c Z implies x is connected to xm, and (3) no point in X-Z is connected to a point in Z. Clearly anyf E Fn connects some of the points into cycles and the remainder of the points into trees rooted on points in cycles. Let T(n, m) denote the number of ways of connecting n points into trees rooted on m of the n points. Since Cn,m is the number of ways the root points may be chosen and miT(n-m, i) is the number of ways the remaining points may be connected if exactly i of them are directly connected to the m roots, we have the recurrence relation,