Also written in Chinese: 卦以八除、除八、餘數取卦、余数取卦
How it works
There are eight positions in a cycle. After the eighth position, start again at one. If a number is larger than 8, subtract full groups of eight and use the remainder to identify a trigram. Use the number given by the stated casting method.
Software may return a remainder of zero. The classical table has no trigram numbered zero. Multiples such as 8, 16 and 24 select the eighth trigram, Kūn. The exercise does not fill in blank, negative or fractional values.
Worked example
An upper total of 17 is 8 × 2 + 1, selecting Qián. A lower total of 16 divides evenly, selecting Kūn. Together, Qián above Kūn form Pǐ (Standstill).
What the classical text says
如得八數整,即坤卦,更不必除也。English rendering: If the number divides evenly by eight, it is the Kūn trigram. There is no need to divide further.
The quotation documents the stated structure or terminology. The site’s example and explanation are separate from the wording of the source.