What are some examples of dimensionless physical constants that historically could only be calculated to greater and greater precision through ever finer and more precise experiments until one day, a closed form (integral or sum for example) was discovered that allowed for calculation through pure math? I ask because I've never heard of such a thing happening, and certainly not for any extremely famous constants, but surely it has happened before.
As for why I believe this has happened before? We've had thousands of physicists working over the last few hundred years on various problems in physics, developing and defining all sorts of constants. Of those constants, some happened to be dimensionless, and of the dimensionless ones with a mathematical formula, it is conceivable that some were not recognized immediately and physicists set up experiments to obtain initial approximations. For example, if physicists for years and years tried to approximate some dimensionless physical constant through experiments, finding more and more digits through better and more precise equipment, only to later figure out the exact value is a simple integral, that would count for the purpose of my question. The list here is not exhaustive, but I would be glad to hear a case of something being on the list and later getting taken off because it was $\sqrt[5]{7\pi}$ or some infinite summation.
While $\pi, e$ might sound like promising examples, remember that the polygonal approximation method circa 250BC allowed for arbitrary precision given that you kept increasing the number of sides. If $\pi$ was used significantly in physics from antiquity to 250BC or physics was a serious discipline back then, I guess that would count. As for $e,$ the infinite series was discovered not long after the constant itself.
Clarification: Only constants that were already dimensionless from the start count. You can consider constants dimensionless with respect to the standard 7 SI units for example. Tricks such as "we set $\hbar = c = G = 1$ for simplicity..." do not count.