Mathematics and weaving go rather well together - it starts with calculating the amount of yarn needed, goes on with doing divisions for the heddle rods and pattern repeats, and then there's calculating the shrinkage, too.
If you're tablet weaving, you can apparently use maths to help you generate patterns, at least of a specific type. There's a freely downloadable short paper here, titled "Markov Chains, Coptic Bananas, and Egyptian Tombs: Generating Tablet Weaving Designs Using Mean-Reverting Processes" written by Joshua Holden.
There's even a link to the code online. So in case you are looking for another way to get some tablet weaving patterns...
By accepting you will be accessing a service provided by a third-party external to https://pallia.net/