Task

Create a Thue-Morse sequence.



See also
   YouTube entry: The Fairest Sharing Sequence Ever
   YouTube entry: Math and OCD - My story with the Thue-Morse sequence
   Task: Fairshare between two and more


.say for (0, { '0' ~ @_.join.trans( "01" => "10", :g) } ... *)[^8];