Problem:
You have an unlimited supply of square tiles with side length and equilateral triangle tiles with side length . For which can you use these tiles to create a convex -sided polygon? The tiles must fit together without gaps and may not overlap.
Solution
Solution:
All the angles in squares and equilateral triangles are multiples of . So all the external angles of the -sided polygon are multiples of . Since the polygon is convex, this implies that all external angles are greater than or equal to . However, the sum of the external angles is , therefore
Hence . Also all polygons have at least sides so . Finally we demonstrate that it is possible for any using the following illustrations.

Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.