[ edit ]

triangle_number = lambda  n: int( n * (n + 1) / 2 )