Given N numbers. How can I decompose each element x in N into random values r1,r2,..rk (k can be a variable) such that the their sum is equal to x. What can we do if the rs are integers or irrationals or real numbers (maybe from zero to one)?
Note that the random values should not be differentiated from the pool of all decomposed values.
Hope anyone can help me out!