k
=
2
Legend
The above figure shows Pascal's triangle, with each element colored according to its value modulo
k
(where
k
is chosen using the slider above). In other words, the cell in row
i
, column
j
has color
(
i
j
)
mod
k
.