SOLUTION: You have six sticks, lengths 1,2,3,4,5,6 inches, how many triangles can you make. Is there a specific formula for determining how many triangles can be made from different sets of

Algebra.Com
Question 830967: You have six sticks, lengths 1,2,3,4,5,6 inches, how many triangles can you make. Is there a specific formula for determining how many triangles can be made from different sets of segments in various lengths?
Answer by Edwin McCravy(20055)   (Show Source): You can put this solution on YOUR website!
The shortest side of a triangle must be longer than the difference
between the other two sides.

Therefore the 1 inch stick cannot be used at all because it is not
longer than the difference between any of the other sticks, for
even if they differ by only 1, 1 is not longer than 1.

2 can be the shortest side if the other two sides differ by only 1.
So we can have a triangle with (2,3,4), (2,4,5) or (2,5,6).

3 can be the shortest side if the other two sides differ by either 
1 or 2.  So we can have a triangle with (3,4,5), (3,4,6), or (3,5,6).

4 can only be the shortest side with (4,5,6)

So 7 triangles can be made with the 6 sticks 1,2,3,4,5,6.

------------------------

Yes there are two formulas. One is for when there are an
even numbers of sticks and the other is for when there 
are an odd number of sticks. 

If you have sticks of lengths 1,2,3,...,n inches

The formula for when n is even is  n(n-2)(2n-5)/24

The formula for when n is odd is (n-1)(n-3)(2n-1)/24  

The case above is when there are 6 sticks. Since 6 is even,
we use the formula

n(n-2)(2n-5)/24

6(6-2)(2·6-5)/24 = 6(4)(12-5)/24 = 6(4)(7)/24 = 7

Edwin

RELATED QUESTIONS

Janice has 5 sticks of lengths 2,4,6,8, and 10 inches. using three sticks at a time as... (answered by Alan3354)
Kelvin is given six sticks. They have lengths 1,2,3,4,5 and 6 feet,respectively. How... (answered by Edwin McCravy)
Kelvin is given six sticks. They have lengths 1,2,3,4,5 and 6 feet,respectively. How... (answered by Edwin McCravy)
How do I write a formula for M in terms of t? This is the chart I'm given: number of... (answered by drk,Mary3001)
please can you help with this question I have tried and failed. Nick has six sticks of... (answered by KMST)
You have 3 sticks with lengths of 20 cm, 40 cm, and 60 cm can you use these sticks to... (answered by Alan3354,ikleyn)
how do you determine whether triangles are congruent? is there a specific... (answered by Boreal)
Suppose you have three straight sticks of lengths 5 cm, 12 cm, and 19 cm. Can you arrange (answered by edjones)
A standard six-sided die is rolled $7$ times. You are told that among the rolls, there... (answered by ikleyn)