At hyperphysics the formula is:
$$ \frac{\nu_\infty}{\nu_0} = \sqrt{1 - \frac{2GM}{c^2r}} $$
I found this article in which the authors
have studied the wavelengths of a large number of solar iron lines observed near the center of the disk. They show that the observed shifts (solar wavelength minus laboratory wavelength) for strong lines agree with the predicted values given by
$$\Delta\lambda/\lambda = \frac{GM}{rc^2}= 2.12^{-6}$$
Can you please say if this formula is correct and where it comes from?
Also, if it is, I would imagine that the formula for the frequancy at infinity (or else) would be
$$\nu = \nu_{r_0}\left( 1-\frac{GM}{r_0 c^2}\right)$$
Can you tell me where I am wrong or why the official formula is different? Is that formula expressly mentioned in SR or is it derived in some way?