The model set for bits (binary digits) interprets a nonnegative scalar data object of type integer as a sequence, as follows:
The following values apply to this model set:
j is the integer value.
s is the number of bits.
wk is a bit value of 0 or 1.
The bits are numbered from right to left beginning with 0.
The following example shows the bit model for j = 1001 (integer 9) using a bit number (s) of 4: