Pythagoreanism to have survived as part of, or deeply influenced, the Bacchic cults and Orphism. Pythagoras was already in ancient times well known for the mathematical achievement of the Pythagorean theorem. Although the Babylonians had used this formula for centuries, Pythagoras had discovered that "in a right-angled triangle the square of the hypotenuse is equal to the squares of the other two sides". In ancient times Pythagoras was also noted for his discovery that music had mathematical foundations. Antique sources that credit Pythagoras as the philosopher who first discovered music intervals also credit him as the inventor of the monochord, a
Fermat's right triangle theorem Fermat's right triangle theorem Fermat's right triangle theorem is a non-existence proof in number theory, the only complete proof left by Pierre de Fermat. It has several equivalent formulations: An immediate consequence of the last of these formulations is that Fermat's last theorem is true for the exponent formula_3 and hence for any multiple of 4. In 1225, Fibonacci was challenged to find a construction for triples of square numbers that are equally spaced from each other, forming an arithmetic progression, and for the spacing between these numbers, which he called a congruum. One way of describing Fibonacci's solution is