Can a Chain of Links Form as Many Triangles as Its Length?

  • Thread starter Thread starter daniel_i_l
  • Start date Start date
  • Tags Tags
    Interesting
AI Thread Summary
A chain of links can form triangles based on the number of links, with specific configurations yielding different results. For instance, a chain of 48 links can create 48 triangles, while chains with fewer links produce fewer triangles and those with more produce more. The discussion explores the mathematical conditions for forming triangles with integer side lengths, emphasizing the triangle inequality. A program was developed to analyze chains up to 1,000,000 links, revealing a consistent pattern in triangle formation. The significance of these findings relates to discrete mathematics, with connections to established sequences like Alcuin's sequence.
daniel_i_l
Gold Member
Messages
864
Reaction score
0
If you have a chain of links of equal lengths whose ends are connected (so that it forms a loop) then by holding three points and "pulling" them outwards different triangles can be formed. For example, with a chain that has three links 1 triangle can be made. With 4 links no triangles can be made. With 9 links three can be made {(3,3,3),(2,3,4),(1,4,4)} ... I made a program to search through all numbers of links up to 1000000 and look for chains that give the same amount of triangles as there are links. The result was that there's only one - a chain of 48 links can make 48 triangles. And interestingly, numbers lower than 48 give less triangles than links and numbers over 48 give more. By numbers like 1000 you get about 10^6 triangles... also if you take some number of links and keep on multiplying it by the same number, then the number of triangles changes in a fixed pattern. And for every chain, if you either add or subtract 3 links you get the same number of triangles...
Is there any significance to all this or is it just silly number games?
Thanks.
 
Mathematics news on Phys.org
I really can't see what you mean...
 
The general idea is just to find triangles with sides of integer length where the sum of the sides is some number. The "number" is the number of links. So for the number three, the only triangle is (1,1,1) cause the only three integers whose sum is 3 is 1+1+1. For 9 you get the 3 results posted above... Is that what you where asking?
 
Oh wow, that's really interesting. I can't think of any use, but I'm sure that it has a lot of implications for discrete math in general.
 
3 numbers x, y, z form a chain that can be made into a triangle of perimeter n iff x+y+z = n and max{x,y,z} < [n/2] where [.] is the "round down" function. The reason for the condition "x+y+z = n" is obvious. The second condition basically says that the triangle inequality is satisfied. So given an n, how many (x,y,z) satisfy this? To count this, condition on the size of the smallest side, which has length k anywhere between 1 and [n/3]. So the remaining two sides have to add up to n-k, and both must have length greater than or equal to k, and less than or equal to [n/2]. The next smallest side has length m, so we need [n/2] > m > k, [n/2] > n-(m+k) > m, since n-(m+k) will be the length of the largest side. So this means:

max{n-k-[n/2], k} < m < min{[n/2], [(n-k)/2]}

which is just

max{n-k-[n/2], k} < m < [(n-k)/2]

For each m satisfying the above, we get one and only one possibility, so we just have to count the number of m satisfying this, and that is exactly

[(n-k)/2] - max{n-k-[n/2], k}

So the total number of triangles of perimeter n and integer length sides is:

\sum _{k=1} ^{\lfloor n/3 \rfloor}\left \lfloor \frac{n-k}{2} \right \rfloor - \max \left (n-k-\left \lfloor \frac{n}{2} \right \rfloor ,\, k\right )

When is n-k-[n/2] > k? When k < [{n/2}/2], where {.} is the round up function. So the above sum is:

\sum _{k=1} ^{\lfloor \lceil (n/2) \rceil /2 \rfloor}\left \lfloor \frac{n-k}{2} \right \rfloor - \left (n-k-\left \lfloor \frac{n}{2} \right \rfloor \right ) + \sum _{k=\lfloor \lceil (n/2) \rceil /2 \rfloor + 1} ^{\lfloor n/3 \rfloor}\left \lfloor \frac{n-k}{2} \right \rfloor - k

= -\left \lfloor \frac{\lceil n/2 \rceil}{2} \right \rfloor \left \lceil \frac{n}{2} \right \rceil + \sum _{k=1} ^{\lfloor \lceil (n/2) \rceil /2 \rfloor}\left \lfloor \frac{n-k}{2} \right \rfloor + k + \sum _{k=\lfloor \lceil (n/2) \rceil /2 \rfloor + 1} ^{\lfloor n/3 \rfloor}\left \lfloor \frac{n-k}{2} \right \rfloor - k

= -\left \lfloor \frac{\lceil n/2 \rceil}{2} \right \rfloor \left \lceil \frac{n}{2} \right \rceil + \left \lfloor \frac{\lceil n/2 \rceil}{2}\right \rfloor ^ 2 + \left \lfloor \frac{\lceil n/2 \rceil}{2} \right \rfloor - \frac{1}{2} \left ( \left \lfloor \frac{n}{3}\right \rfloor ^ 2 + \left \lfloor \frac{n}{3} \right \rfloor \right ) + \sum _{k=1} ^{\lfloor n/3 \rfloor}\left \lfloor \frac{n-k}{2} \right \rfloor
 
Last edited:
Actually, figure out this number for the first, say, 8 n. You get 0, 0, 1, 0, 1, 1, 2, 1. Go to http://www.research.att.com/~njas/sequences/index.html , type in that sequence of numbers, and hit "Search". You'll see your sequence has already been discovered, it's called Alcuin's sequence, and a formula much better than mine is already given for it. It's actually 12 different formulas because it depends on the value of n (mod 12). From that site:

For n=0..11 (mod 12), a(n) is respectively
n^2/48
(n^2 + 6n - 7)/48
(n^2 - 4)/48
(n^2 + 6n + 21)/48
(n^2 - 16)/48
(n^2 + 6n - 7)/48
(n^2 + 12)/48
(n^2 + 6n + 5)/48
(n^2 - 16)/48
(n^2 + 6n + 9)/48
(n^2 - 4)/48
(n^2 + 6n + 5)/48


48 certainly does have some significance! By the way, something went wrong in the formula I derived, because when I plug in n=48 I get 52 as the result (unless I just computed wrong).
 
Last edited by a moderator:
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Thread 'Imaginary Pythagoras'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top