A binary plot of an integer sequence is a plot of the binary representations of successive terms where each term is represented as a column of bits with 1s colored black and 0s colored white. The columns are then placed side-by-side to yield an array of colored squares. Several examples are shown above for the positive integers , square numbers , Fibonacci numbers , and binomial coefficients .
Binary plots can be extended to rational number sequences by placing the binary representations of numerators on top, and denominators on bottom, as illustrated above for the sequence .
Similarly, by using other bases and coloring the base- digits differently, binary plots can be extended to n-ary plots.