An asymptotic expansion for the discrete harmonic potential