[math-fun] TR: Thue-Morse and cubefree firs seq