adding another test -- Trying n*(n-1)/2