The Pythagorean theorem, often attributed to Pythagoras, has roots in ancient Babylonian, Egyptian, and Indian mathematics. The discovery of irrational numbers by Hippasus challenged the Pythagorean belief in a universe governed by whole numbers, leading to dire consequences for him. Despite the cult's decline after Pythagoras' death, his ideas significantly influenced later philosophers, including Plato and early Christian thinkers, showcasing his lasting impact on mathematics and philosophy.