The partition function of the d-dimensional Ising model: A one-variable integral formula