If this seems interesting to you, I would suggest reading: "Gödel, Escher, Bach: An Eternal Golden Braid" [1]
[1] https://www.amazon.com/G%C3%B6del-Escher-Bach-Eternal-Golden...
[1] https://www.amazon.com/G%C3%B6del-Escher-Bach-Eternal-Golden...
> a contrapuntal composition in which a short melody or phrase (the subject) is introduced by one part and successively taken up by others and developed by interweaving the parts.