fix TriangularNumbers