Combinatorica`
Combinatorica`

RandomRGF

RandomRGF[n]

returns a random restricted growth function (RGF) defined on the first n natural numbers.

RandomRGF[n,k]

returns a random RGF defined on the first n natural numbers having maximum element equal to k.

Details and Options