The Mathematical Beauty that led to Quantum Physics