• k0sm0naut@lemmy.mlOP
    link
    fedilink
    arrow-up
    2
    ·
    3 years ago

    So, usually the Thue-Morse sequence is created by the morphism 0 -> 01, 1 -> 10. This ends up creating the Koch snowflake using turtle graphics.

    But, I thought it might be interesting to change the morphism so the 0 alternates between 00 and 01 and 1 -> 10/11.

    Here are the first 100 terms: 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0