Pascal triangle:
$$ \text{Pascal}(n, k) = {n \choose k}. $$
Equations
- PascalTriangle n k = n.choose k
Instances For
Pascal triangle defined from the binomial coefficient.
Equations
- Pascal n = match TriangleRows n with | (k, l) => PascalTriangle k l
Instances For
Pascal triangle as a translation from the Python code in the OEIS entry.
Equations
- One or more equations did not get rendered due to their size.