def thue_morse_generator(start=0):

    for n in itertools.count(start):
        yield recursive_thue_morse(n)
A generator for the Thue-Morse sequence.
dataset/ETHPy150Open Axelrod-Python/Axelrod/axelrod/_strategy_utils.py/thue_morse_generator