I have four columns: A, B, C, and D. In each column, it is possible to have: Yes or No. For instance, the first row might read: Yes, Yes, Yes, Yes across each of the four columns. The second row might read: No, No, No, No across each of the four columns and so on. The third row might read: Yes, No, Yes, No across each of the four columns.
What are all the possible combinations of Yes and No by column?
I tried a heuristic approach and found many of them but some elude me.
Ouroborusin comments said it first: there are 16 combinations possible, manifesting in 16 rows.... and further... that 0 through 15 in binary will essentially yield what you want.This table is the result of code I wrote ... runnable code is here. Specifically, the table is the result of translating a binary representation of numbers 0 through 15 into
YESandNO: