I've recently seen stated here https://en.wikipedia.org/wiki/Dedekind_eta_function#Definition, here https://math.stackexchange.com/a/1754273/917010, here: https://bahasa.wiki/nn/Dedekind_eta_function and in a couple more sites that there supposedly is a link between the Leech lattice, whose dimension is 24, and the 24 appearing in the expression of the Dedekind eta function.
The sentence is always the same: "The presence of 24 can be understood by connection with other occurrences, such as in the 24-dimensional Leech lattice." But there never is further explanation or a link to a refernce.
Does somebody knows what is this connection? If not could someone point an appropriate reference? I've tried looking on internet, in "A course in arithmetic" by Serre and in Apostol's book on modular forms but there was no mention of this.