"Root" makes it sound like the purpose of building the very nice step well is to prove a mathemathical point. I'd venture to say its primary purpose had something to do with water.
Patterns and repetition is what I see beyond that, which are fairly prevalent in art and architecture exactly because you can get to them by simple experimentation.