I don't think such a function is correct in genera...
# random
k
I don't think such a function is correct in general, sequences don't have to be repeatable.