B
Bryan
Thanks all for the suggestions! I realized something though (sorry for
that) that may simplify things..
In fact, I don't care about the order of A B and C. But I do care about
the -sum-!
For example, if you have the following formula; AxByCz, where x is the
number of A's y is the number of B's, z is the number of C's...
If k = x + y + z, I need to find all possible x, y and z values whose
sum is equal to k.
So, if k = 3, I could have:
x y z
1 0 2
1 1 1
1 2 0
2 0 1
etc, etc, etc.
Sadly, I did not drink enough coffee today to see the quick way to do
this either... any help appreciated!
B
that) that may simplify things..
In fact, I don't care about the order of A B and C. But I do care about
the -sum-!
For example, if you have the following formula; AxByCz, where x is the
number of A's y is the number of B's, z is the number of C's...
If k = x + y + z, I need to find all possible x, y and z values whose
sum is equal to k.
So, if k = 3, I could have:
x y z
1 0 2
1 1 1
1 2 0
2 0 1
etc, etc, etc.
Sadly, I did not drink enough coffee today to see the quick way to do
this either... any help appreciated!
B