if you have a list of numbers:

 67, 50, 78, 12, 19, 98, 33, 55, 10, 8, 39, 48, 13, 70, 36, 87, 82, 44, 32,
78, 9,

letīs say you have 500 numbers of the range between 10 and 100.


What you really want are groups each with 3 numbers.

The summe of the numbers in a group should be near as possible on the
average value.

My "simple" idea:
sort the numbers.
put the first, the last and the middle number in a group and remove them
from the list.


Any better or even mathematically correct ideas ?

Thanxs!





-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to