Given a triangular array consisting of n rows, how many equilateral triangles can be formed using points in the array as vertices? Note that there is no restriction on the orientation of the triangle. Two examples of such triangles are shown in the figure below where n = 6.