I finished M's hat in time for Christmas.
The tassel cords are knit I-cord with mathematically based stripe patterns. The one on the left is knit so that the rounds in each color stripes are the prime numbers in order. The one in the middle is based on the Fibonacci sequence. The one on the right is "random." D pointed out that it is not truly random as I changed colors when I wanted to. Next time I'll have him use his random number generator on his calculator.