function genknuth(m, n) for i = 0 to n-1 /* выбор m из оставшихся n-i */ if (bigrand() % (n-i)) < m print i m--