# Difference between revisions of "Pascal's triangle"

Llama Lemma (talk | contribs) (→Rows: 0th row is 2^0, 1st row 2^1, 2nd row 2^2, so nth row 2^n) |
m (→Number Parity) |
||

Line 21: | Line 21: | ||

=== Number Parity === | === Number Parity === | ||

Consider writing the row number <math>n</math> in [[base number | base]] two as <math>({n})_{10} = {(a_xa_{x-1} \cdots a_1a_0)}_2</math><math> = a_x 2^x+a_{x-1} 2^{x-1}+\cdots+a_1 2^1+a_0 2^0</math>. The number in the <math>k</math>th column of the <math>n</math>th row in Pascal's Triangle is [[odd integer | odd]] if and only if <math>k</math> can be expressed as the sum of some <math>a_i 2^i</math>. For example, <math>(9)_{10} = {(1001)}_{2} = 2^{3}+2^{0}</math>. Thus, the only 4 odd numbers in the 9th row will be in the <math>{(0000)}_{2} = 0</math>th, <math>{(0001)}_{2} = 2^0 = 1</math>st, <math>{(1000)}_{2} = 2^3 = 8</math>th, and <math>{(1001)}_{2} = 2^3+2^0 = 9</math>th columns. Additionally, marking each of these odd numbers in Pascal's Triangle creates a [[Sierpinski triangle]]. | Consider writing the row number <math>n</math> in [[base number | base]] two as <math>({n})_{10} = {(a_xa_{x-1} \cdots a_1a_0)}_2</math><math> = a_x 2^x+a_{x-1} 2^{x-1}+\cdots+a_1 2^1+a_0 2^0</math>. The number in the <math>k</math>th column of the <math>n</math>th row in Pascal's Triangle is [[odd integer | odd]] if and only if <math>k</math> can be expressed as the sum of some <math>a_i 2^i</math>. For example, <math>(9)_{10} = {(1001)}_{2} = 2^{3}+2^{0}</math>. Thus, the only 4 odd numbers in the 9th row will be in the <math>{(0000)}_{2} = 0</math>th, <math>{(0001)}_{2} = 2^0 = 1</math>st, <math>{(1000)}_{2} = 2^3 = 8</math>th, and <math>{(1001)}_{2} = 2^3+2^0 = 9</math>th columns. Additionally, marking each of these odd numbers in Pascal's Triangle creates a [[Sierpinski triangle]]. | ||

+ | |||

[[Image:Sierpinski.jpg]] | [[Image:Sierpinski.jpg]] | ||

## Revision as of 12:36, 11 October 2012

**Pascal's triangle** is a triangle which contains the values from the binomial expansion; its various properties play a large role in combinatorics.

## Contents

## Properties

### Binomial coefficients

Pascal's Triangle is defined such that the number in row and column is . For this reason, convention holds that both row numbers and column numbers start with 0. Thus, the apex of the triangle is row 0, and the first number in each row is column 0. As an example, the number in row 4, column 2 is . Pascal's Triangle thus can serve as a "look-up table" for binomial expansion values. Also, many of the characteristics of Pascal's Triangle are derived from combinatorial identities; for example, because , the sum of the values on row of Pascal's Triangle is .

### Sum of previous values

One of the best known features of Pascal's Triangle is derived from the combinatorics identity . Thus, any number in the interior of Pascal's Triangle will be the sum of the two numbers appearing above it. For example, , as shown in the diagram. This property allows the easy creation of the first few rows of Pascal's Triangle without having to calculate out each binomial expansion.

### Fibonacci numbers

The Fibonacci numbers appear in Pascal's Triangle along the "shallow diagonals." That is, , where is the Fibonacci sequence. For example, . A "shallow diagonal" is plotted in the diagram.

### Hockey-stick theorem

The Hockey-stick theorem states: . Its name is due to the "hockey-stick" which appears when the numbers are plotted on Pascal's Triangle, as shown in the representation of the theorem to the right (where and ).

### Number Parity

Consider writing the row number in base two as . The number in the th column of the th row in Pascal's Triangle is odd if and only if can be expressed as the sum of some . For example, . Thus, the only 4 odd numbers in the 9th row will be in the th, st, th, and th columns. Additionally, marking each of these odd numbers in Pascal's Triangle creates a Sierpinski triangle.

### Patterns and Properties of the Pascal's Triangle

#### Rows

The zeroth row has a sum of . The first row has a sum of . The row has a sum of