Title: Generation and recognition of random sequences