0111 (1 to 7), unchanging yang those between 1000 and 1100 (8 to 12), and old yang from 1101 to 1111 (13 to 15). This also clearly showcases the relative probabilities of each outcome. Four coins With tails assigned the value 0 (zero) and heads the value 1, four coins tossed at once can be used to generate a four-bit binary number, the right-most coin indicating the first bit, the next coin (to the first's left) indicating the next bit, etc. The number 0000 is called old yin; the next three numbers—0001, 0010, and 0011 (the binary numbers whose decimal equivalents are 1, 2, and 3, respectively)—are called old yang, with a similar principle applied to the remaining twelve outcomes. This gives identical results to the yarrow-stalk method. {| style="text-align:center;display: inline-block;" border="1" cellpadding="4" cellspacing="0" borderwidth="1" |----- | Coins |Binary |Decimal|| Line |----- | T T T T |0000 |0---x--- |----- | T T T H |0001 |1---o--- |----- | T T H T |0010 |2---o--- |----- | T T H H |0011 |3---o--- |} {| style="text-align:center;display: inline-block;" border="1" cellpadding="4" cellspacing="0" borderwidth="1" |----- | Coins |Binary |Decimal|| Line |----- | T H T T||0100|| 4 ------- |----- |T H T H||0101|| 5 ------- |----- |T H H T||0110|| 6 ------- |----- |T H H H||0111|| 7 ------- |} {| style="text-align:center;display: inline-block;" border="1" cellpadding="4" cellspacing="0" borderwidth="1" |----- | Coins |Binary |Decimal|| Line |----- |H T T T||1000|| 8 ------- |----- |H T T H||1001|| 9 --- --- |----- |H T H T||1010|| 10 --- --- |----- |H T H H||1011|| 11 --- --- |} {| style="text-align:center;display: inline-block;" border="1" cellpadding="4" cellspacing="0" borderwidth="1" |----- | Coins |Binary |Decimal|| Line |----- |H H T T||1100|| 12 --- --- |----- |H H T H||1101|| 13 --- --- |----- |H H H T||1110|| 14 --- --- |----- |H H H H||1111|| 15 --- --- |} The two-coin method described above can be performed with four coins, simply by having one pair of coins be alike—of the same size or denomination—while the other two are of a different size or denomination; the larger coins can then be counted as the first toss, while the two smaller coins constitute the second toss (or vice versa). Six coins Six coins—five identical coins and one different—can be thrown at once. The coin that lands closest to a line drawn on the table will make the first line of the hexagram, and