Given nnn sticks with lengths 1,2,3,…,n1, 2, 3, \ldots, n1,2,3,…,n units. How many distinct triangles can be formed by joining the endpoints of any three of these sticks?