I have six integer numbers and let's call them x,y,z,a,b and c.(adsbygoogle = window.adsbygoogle || []).push({});

All of them are to be in the [1,30] domain and satisfy the following conditions:

[tex]x=y+z[/tex]

[tex]x<a , y<b , z<c[/tex]

Now, if I start by "choosing a,b and c randomly first", Would you please tell me how I can randomly pick out the next three numbers (x,y,z) which still satisfy what I already mention above ?

Thank you very much,

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Three random choices in limitations

**Physics Forums | Science Articles, Homework Help, Discussion**