Combinatorics
Counting the ways…
Initializing Sorting Algorithms...
Sorting
Trees
Graphs
Preparing interactive visualizations...
Combinatorics
Counting the ways…
Built with nothing but addition, yet every entry is a binomial coefficient C(n, k). Its symmetry, its diagonals and its row sums are all counting facts in disguise.
Row 0 is a single 1. Every row after it starts and ends with 1, and every number in between is the sum of the two numbers just above it.
Rows and positions are counted from 0. Clicking a cell sets n and k; moving the sliders moves the highlight.