Use the table below to define and combine rules, and see the patterns that result. The row index is given by the variable i, and the column index by j. Use the operators +, -, *, / and % to work with the i and j values, and == or != to test equality. When multiple rules are combined, they are applied in turn, line by line.
Select a predefined rule from the menu in the first row of the table, or type your own rule into the following rows. Clicking on the grid will show the i and j coordinates for the particular cell.
|Include||Condition (row = i, col = j)||True||False||Symbols|