For #12, no need for the triangleNumber method.