Madelung's constant for NaCl is 1.748.
What I tried to so is sum up all the individual interactions into 1 component where the Xs are the nucleus and the electron if it was a 2 atom system. Is this the correct way to go about it? Thanks!