problem 12

triangular number