The bids are positionally entered in assembled sequence field with a code. The code is that of the interbid calls sequence that follows the bid. There are 35 positions with 7NT on the left and 1C on the right. The final highest bid is always a 1 in the leftmost position because there is no interbid sequence to the next bid. The sequence is right justified in the field so right trailing zeros are significant. To make it a little easier, use the check box matrix tool to generate the required bids and call sequences. The high bid is always (1), (0)s are bids or bid positions that are not used and codes (1-21) mark the other bids and the interbid call sequence required. Then enter the number of pre-amble passes (0 to 3) and select the pattern of suffix calls to complete the bidding. The end result is a valid decimal page reference within the book, remember (1C,P,P,P) is page 0 and page numbers are LESS than
The number above, counting from 1, is all sequences where at least one bid is made. So add 1 more for the passed out sequence(P,P,P,P) to obtain the number of all legal sequences