Recursive (Counting) GeneratingFunction Challenging

Problem - 4427

As shown, an isosceles trapezoid is obtained by removing the top part of an equilateral triangle. The lengths of its two bases are $a$ and $b$, respectively, which are both integers. Both bases and sides are equally divided into unit-length parts. Their ending points are then connected to create several segments which are parallel to either two bases or one side. Find the number of equilateral triangles in this diagram.


The solution for this problem is available for $0.99. You can also purchase a pass for all available solutions for $99.

report an error