|
EXAMPLE
|
For n=3, a(3) is computed as follows: The base angle is Pi/3 (60 degrees). Thus any internal angle can only be either Pi/3 or 2*Pi/3. Call an interior angle with Pi/3 a "1" and with 2*Pi/3 a "2". Since all external angles will add to 2*Pi, we know that the only possible sequences (ignoring rotation and reflection) are {{1, 1, 1}, {1, 1, 2, 2}, {1, 2, 1, 2}, {1, 2, 2, 2, 2}, {2, 2, 2, 2, 2, 2}}. However, neither {1, 1, 2, 2} nor {1, 2, 2, 2, 2} forms a closed polygon. Thus the final set is {{1, 1, 1}, {1, 2, 1, 2}, {2, 2, 2, 2, 2, 2}}, which gives a(3) = 3.
|