my interpretation of the timeline is that Arabs/Persians were great contributors to the Mathematics until Mohammed showed up - after that "not so much"
I’m pretty sure they just copied the information and wrote it down / distributed it.