Quoted By:
physicist here. Numbers are older than history. They were being used by sheep herders long before Herodotus even walked the earth. They come from deep human culture.
Where do their roots lie in rigorous philosophy? That is a harder question that took a long time to settle but philosophers and mathematicians managed to construct an axiomatic basis for numbers from the principles of set theory and logic.
That’s a bit anachronistic though, since e.g. Eratosthenes was doing complex numerical calculations like 2000 years earlier, so I think the clearest answer is that numbers come from deep history
where do various fundamental constants come from? that’s a different question. The earliest one is probably Newton’s gravitational constant. That came from (surprise) Newton.
But maybe you are asking what mechanism in nature gives rise to the particular values of these numbers. There are obvious anthropic principle arguments (if gravity were much weaker then earth couldn’t exist, for example) but the true answer is that we don’t know. They are empirical facts that the theory doesn’t predict internally. There have been many instances where certain “constants” like this turn out to be predictable from a new theory (Like the Stefan-Boltzmann constant turned out to be derivable from just Boltzmann’s constant, or the fine structure constant can be calculated in terms of various other constants) so the idea is that many of these things can be boiled down once physical theory becomes more complete