Following Euclid, notes about recipes, etc. were the closest thing to how we think at algorithms today. Also, there was also the inventions of mathematical methods. For example, Sieve of Eratosthenes, Euclid’s algorithms, and methods for factorization square roots.
It seems common to us now to list things out in the order we will do them in. But, in Mathematics at that time — it was not a common idea. (16 ore 23 min, 1 gen 300 anni a. C. – 11 ore 1 min, 1 gen 800 anni)