Pascal explorer

Pascal’s triangle, coloured by remainder mod mm.

For checking your work after you’ve tried it yourself.

Step 1:
Choose the rows

Up to 64.

Step 2:
Choose m

Each entry is coloured by its remainder mod m.

Step 3:
Tap an entry

See its exact value and how to work it out.
What it does.
Draws Pascal's triangle and colours each entry by its remainder when divided by mm, so patterns appear. Tap any entry for its exact value.
When it helps.
Checking a binomial coefficient or a divisibility pattern you noticed.
What it won’t do.
Up to 64 rows on screen.
Example.
Coloured mod 2, the triangle makes the Sierpinski pattern.
Pascal's triangle mod m

Numbers are shown in the cells up to 16 rows.

Try