From Euler to AI: Unifying Formulas for Mathematical Constants