brute force examines all n choose k triangles