Saw this sequence from Simone Conradi

Havent heard of the sequence in Gödel, Escher, Bach yet, but it is interesting to see the recursive visuals Douglas Hofstadter seems to be known for.

I believe it comes up in the book as something to do with Hofstadter’s Hofstadter Q sequence, will have to do some more tinkering to find out.

Attempted to recreate:

Python
Output