Maybe the square is right, but the distance needs an adjustment.
It may be right for shorter distances where the energy transfer is larger, but as distance increases and gravitational effects become very weak, the transfer becomes subject to quantum barriers: at a certain point, gravitational effects fall to zero or become discontinuous.