With an unlimited supply of toothpicks of n different colors, how many different triangles can be formed on a flat surface, using three toothpicks for the three sides of each triangle? (Reflections are considered different, but not rotations.)
How many different squares?