Hi all,

I have 'n' numbers between 0 and 1 .... and there sum 'S' is known .. so there are only two things 'n' & 'S' are known .... now I have to divide these 'n' numbers into two groups of (0, .5) & (.5, 1) ... I need numbers of elements & their sum in each group .... This can't be done arbritrarily .... solution using some distribution or statistical argument will be good ...

Interwal No. of elements Sum

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

(0,1) 'n' 'S' {We know}

(0,.5) 'n1' 'S1' {need to find}

(.5,1) 'n2' 'S2' {need to find}

Thanks,

ambrish