Printing a list of triangle numbers, with divisors