I am looking for an exact formulation in a close form.
I have a first formulation for a*b grid :
denotes the number of vertices pairwise at distance l, into a a*b grid.
This first formulation is exact but I am looking for another formulation without the "min" and "max" terms.
Any ideas ?
PS: please excuse my bad english