Tonight we are having a book club review of Blink by
Malcolm Gladwell. We want to have a "triad" taste test
between Coke and Pepsi. Each person receives three cups of
soda each marked only with a single letter and either a 1, a
2, or a 3; the letter distinguishes between the people (up
to 26 people). The tester needs a randomized setup table to
fill the cups in such a way that every person gets either 2
Pepsi's and 1 Coke or 1 Pepsi and 2 Cokes, so that each
person can report which cup is different in their sample.

        Can you produce the table? It is not essential that
exactly the same number of triads have Coke and Pepsi
singletons.

        A sample output might look like this.

person  cup1    cup2    cup3
A       P       P       C
B       P       C       P
C       C       P       C
...
Z       P       C       P

(B=) <----------my "sig"

Brian Schott
Atlanta, GA, USA
schott DOT bee are eye eh en AT gee em ae eye el DOT com
http://schott.selfip.net/~brian/
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to