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