Pebbles and Triangles