When is a triangle equilateral?