####! change this if UNIX # review.txt, cr 06 sept 1999 by rha # revised 20 sept 1999 by rha we assume right-handedness X. start with 50 stalks in left palm (LH4 = 50) take away one, set aside (R0 = 1, LH4 = 49) operate with 49 from now on to get all six lines (from line 1 at the bottom) now draw the six lines each line draw requires three casts, getting remainder counts R1, R2, R3 A. get first of three counts (TT1 = 5 or 9) 0. the 49 stalks are in the left palm (LH4 = 49) 1. divide 49 at random into two piles 1a. grab X stalks in the right hand (LH4 = 49 - X, RH = X) 1b. put them on the table, second place in bottom row (RH = 0, TB2=X) 2. take one from right heap, put in left hand between 3rd and 4th fingers (LH1 = 1, TB2=X-1) 3. get left remainder 3a. reduce left pile mod 4 until only 1, 2, 3, or 4 remain keeping discard stalks in right palm (LH4 = 1, 2, 3, or 4; RH = 49-X-LH4) 3c. put down discard stalks from right palm to table, third place in bottom row (RH = 0, TB3 = 49 - X - LH2 = DL) 3b. move left remainder from left palm to space btween 3rd and 2nd fingers (LH4=0; LH2= 1, 2, 3, or 4) 4. get right remainder 4a. pickup right pile from TB2 and hold in left palm (TB2=0; LH4= X-1) 4b. reduce right pile mod 4 (LH3 = 1, 2, 3, or 4; RH = X-1-LH3) 4c. move right pile discards from right palm to TB3 along with left pile discards (RH=0; TB3 = DL + DR) 4d. move right remainder from LH4 to LH3 (LH4=0; LH3 = 1, 2, 3, or 4) 5. collect the three parts from the left hand and put in the 2nd place in the top row of the table (LH1=LH2=LH3=0; TT1 = 5 or 9) 6. collect the discarded stalks from TB3 with left palm (LH4 = 40 or 44, TB3 = 0) B. repeat step A with new pile of 40 or 44, get count (TT2 = 4, or 8) collect discards (new LH4 = 32, 26, or 40) C. repeat step B, get count (TT3 = 4, or 8) these three results determine one line (SumRem = TT1 + TT2 + TT3 = 13, 17, 21, or 25) (SumDis = 49 - SumRem = 36, 32, 28, or 24) (SumDis/4 = 9, 8, 7, or 6) (consult the table to see which type of line) then collect all stalks except the one from step X and return to step 1 to determine the second line # end review.txt