Given an equilateral triangle as shown in figure (a), if we draw one line parallel to each side such that the 3 lines divide each side into 2 segments of equal length, then we will get the figure as shown in figure (b). Let us call the triangle in (a) S0, the figure in (b) S1. Similarly, we can draw k lines parallel to each side such that the 3k lines divide each side into (k+1) segments of equal length. Let us call the figure Sk. As an example, figure (c) shows the figure S2.
Now, we wish to count how many upright triangles are contained in Sk. A triangle is called upright if the base is at the lower side. In figure (b), the triangle abc in S1 is not an upright triangle because the line (a, b) is at the upper side of node c. Thus, S1 contains 4 upright triangles, including 3 smaller ones plus efg. It is not difficult to see that S2 contains 10 upright triangles. Let a be the number of upright triangles that Sn contains. Find a recurrence relation for an and solve it.
My answer:
I made a relationship of the number of parallel lines to the number of upright triangles. This gave me the following open formula equation. I used that equation to recursively solve for a closed formula. But my final equation falls off and does not match the sequence for some of the numbers. Pic#1, Pic#2
I know the final answer is supposed to be $${3n^2+3n+2 \over2}$$