Yang Hui’s Triangle (Pascal's Triangle)

Yang Hui’s Triangle is a special triangular arrangement of numbers used in many areas of mathematics.  In Asia, it is named after the famous 13th century Chinese mathematician Yang Hui, one of the first to describe its properties; in Europe it is often named after the 17th Century French mathematician Blaise Pascal. Even before Yang Hui, this triangular arrangement of numbers was described by the Arabian poet and mathematician Omar Khayyam (c. 1044-1123) and the Indian mathematician Halayudha in 975.

At the top of the triangle is a 1, which makes up the 0th row.  The 1st row (1, 1) contains two 1s each formed by adding the two numbers above them, one to the left and one to the right, in this case 0 and 1.  (All numbers outside the triangle are 0s.)  Do the same to create the 2nd row; 0 + 1 = 1, 1 + 1 = 2, 1 + 0 = 1 and all subsequent rows.

A number in the triangle can be found by using nCr (n choose r), where n is the number of the row and r is the number of the element in that row.    This is especially helpful to find a particular term in the expansion of a binomial in the form (x + y)n.

Example:

Find the 4th term in the 6th row of the triangle.

(Remember: the first 1 in each row is the 0th element so this is correct.)

Sum of rows:  The sum of the numbers in any row is equal to 2n, when n is the number of the row.

20 = 1 = 1
21 = 2 = 1 + 1
22 = 4 = 1 + 2 + 1
23 = 8 = 1 + 3 + 3 + 1
24 = 16 = 1 + 4 + 6 + 4 + 1 and so forth.

Prime numbers: If the first element in a row is a prime number (remember the first 1 in any row is the 0th element.) all of the numbers in that row (excluding the 1s) are divisible by it.

For example in the 7 th row (1, 7, 21, 35, 35, 21, 7, 1) 7, 21, 35 are divisible by 7.

In Algebra, each row in Yang Hui’s Triangle contains the coefficients of the binomial (x + y) raised to the power of the row.

(x + y)0 = 1

(x + y)1 = 1x + 1y

(x + y)2 = 1x2 + 2xy + 1y2

(x + y)3 = 1x3 + 3x2y + 3xy2 + 1y2

(x + y)4 = 1x4 + 4x3y + 6x2y2 + 4xy3 + 1y4 and so forth.

Another major area where Yang Hui’s Triangle shows up and is very useful is in probability where it can be used to find combinations.

Interesting Number Patterns:

Many interesting number patterns can be found in the triangle.  Included are the Fibonacci sequence, Triangular and Square Numbers (found in the diagonals starting with row 3.) and Polygonal Numbers.

Another interesting connection is to Sierpinski’s Triangle.  When all of the odd numbers in Yang Hui’s Triangle are filled in and the evens are left blank, the recursive Sierpinski Triangle fractal is revealed.

Each of these are fascinating topics which warrant further research on your part.