Counting triangles

TopicDifficultyCompanies
Algorithmic
MEDIUM

An algorithm starts with a single equilateral triangle and on each subsequent iteration adds a new triangle all around the outside. The result for the first three iterations is shown in the figure. How many small triangles will be there after the 10th iteration?

puzzle

The Answer is an integer. Just put the number without any decimal places.
Login to solve this puzzle