Carl Benjamin Boyer; Uta C. Merzbach (2011). “China and India”. A history of mathematics (3rd ed.). Wiley. p. 229. ISBN978-0470525487. https://books.google.com/books?id=bR9HAAAAQBAJ. "Quote: [In Sulba-sutras,] we find rules for the construction of right angles by means of triples of cords the lengths of which form Pythagorean triages, such as 3, 4, and 5, or 5, 12, and 13, or 8, 15, and 17, or 12, 35, and 37. Although Mesopotamian influence in the Sulvasũtras is not unlikely, we know of no conclusive evidence for or against this. Aspastamba knew that the square on the diagonal of a rectangle is equal to the sum of the squares on the two adjacent sides. Less easily explained is another rule given by Apastamba – one that strongly resembles some of the geometric algebra in Book II of Euclid's Elements. (...)"
Robson, E. (2008). Mathematics in Ancient Iraq: A Social History. Princeton University Press: p.109 "Many Old Babylonian mathematical practitioners … knew that the square on the diagonal of a right triangle had the same area as the sum of the squares on the length and width: that relationship is used in the worked solutions to word problems on cut-and-paste ‘algebra’ on seven different tablets, from Ešnuna, Sippar, Susa, and an unknown location in southern Babylonia."
Carl Benjamin Boyer; Uta C. Merzbach (2011). “China and India”. A history of mathematics (3rd ed.). Wiley. p. 229. ISBN978-0470525487. https://books.google.com/books?id=bR9HAAAAQBAJ. "Quote: [In Sulba-sutras,] we find rules for the construction of right angles by means of triples of cords the lengths of which form Pythagorean triages, such as 3, 4, and 5, or 5, 12, and 13, or 8, 15, and 17, or 12, 35, and 37. Although Mesopotamian influence in the Sulvasũtras is not unlikely, we know of no conclusive evidence for or against this. Aspastamba knew that the square on the diagonal of a rectangle is equal to the sum of the squares on the two adjacent sides. Less easily explained is another rule given by Apastamba – one that strongly resembles some of the geometric algebra in Book II of Euclid's Elements. (...)"