Pascal's triangle
Assuming "Pascal's triangle" is referring to natural math | Use as instead

Input interpretation

Pascal's triangle

Result

 | | | | | 1 | | | | | 
 | | | | 1 | | 1 | | | | 
 | | | 1 | | 2 | | 1 | | | 
 | | 1 | | 3 | | 3 | | 1 | | 
 | 1 | | 4 | | 6 | | 4 | | 1 | 
1 | | 5 | | 10 | | 10 | | 5 | | 1

Properties

The sum of the nth row is 2^n.

The sum of rows 0 through n is 2^(n + 1) - 1.

The generating function of the nth row is (x + 1)^n.

(rows are numbered starting with n = 0 at the top)