Calculating links of a fully meshed network

Soldato
Joined
1 Jun 2005
Posts
5,152
Location
Kent
Whats the easiest way to calculate the number of links required to make a fully meshed network? I have a multiple choice question i have to answer, and the only way i know to calculate the number of links is by adding all the numbers between x-1 and 1 (inclusive). This isnt a problem for small ammounts of devices, but i have to work out the answer for hundreds of devices linked together.

Does anyone know a better way to solve this?
 
Whats the easiest way to calculate the number of links required to make a fully meshed network? I have a multiple choice question i have to answer, and the only way i know to calculate the number of links is by adding all the numbers between x-1 and 1 (inclusive). This isnt a problem for small ammounts of devices, but i have to work out the answer for hundreds of devices linked together.

Does anyone know a better way to solve this?

To add up 1 + 2 + 3 + 4 + ... + x is simply, 1/2 * (x)(x+1).
 
Still doesnt give a result that matches my multiple choice options. The closest answer is 11125, but the question doesnt say find the closest ammount of links required or anything like that.
 
Last edited:
Still doesnt give a result that matches my multiple choice options. The closest answer is 11125, but the question doesnt say find the closest ammount of links required or anything like that.

You need to do 1/2 * 150 x 150 (you need x-1, the normal way to work them out is x +1...so you get x+0).

That totals 11250


...edit: I suck @ this. Ignore me :p
 
Well the possible answers for the question of 150 elements in a fully meshed network were: 100, 300, 4500, 11125, 22250, 45000. So 11250 must be the correct answer, even if its not the answer i got myself when i tried working it out, its the only sensible one as the other choices would have way to many or way to few links.
 
Back
Top Bottom