A 10-cm stick has a mark at each centimeter. By breaking the stick at two of these nine marks at random, the stick is split into three pieces, each of integer length. What is the probability that the three lengths could be the three side lengths of a triangles?
Total count is 9C2=36; but I don't know how to go with using the triangle inequality to count the valid ones for a triangle. Would appreciate any help.