https://en.wikipedia.org/wiki/Pythagorean_theorem Similarly, Apastamba's rules for constructing right angles in fire-altars use the following Pythagorean triples: [27] [28] ( 3 , 4 , 5 ) ( 5 , 12 , 13 ) ( 8 , 15 , 17 ) ( 12 , 35 , 37 ) https://en.wikipedia.org/wiki/Shulba_Sutras