-1

Hi,

Can anyone give me an idea of how to be able to browse through a set of combinations?

Lets say that I have 3 objects that can hold 3 different values and I want to browse through these. How do I know which is the next combination? I will always know how many values every object can hold and they can always hold the same number of values and therefore I also know total number of combinations. So if I am on combination (3, 2, 1), how do I know that the next combination is (3, 2, 2)?

Object O1 O2 O3

Comb. 1. 1 1 1 Comb. 2. 2 1 1 Comb. 3. 2 2 1 . . . . Comb. 27. 3 3 3

flag
1 
please read the FAQ mathoverflow.net/faq#whatnot – Yemon Choi Jan 31 2012 at 8:07
1 
already crossposted to math.SE math.stackexchange.com/questions/104183 – Zev Chonoles Jan 31 2012 at 8:17

closed as off topic by Bruce Westbury, Yemon Choi, Will Jagy, Zev Chonoles, Chandan Singh Dalawat Jan 31 2012 at 9:29

Browse other questions tagged or ask your own question.