Pascal’s Triangle Genetics

Pascal’s Triangle:

The expression of the binomial theorem is (a+b)n = 1. For each of n, the binomial expression can be expanded. The numerical coefficients preceding each expression can be determined using Pascal’s triangle. The coefficients denote the number of ways by which a particular combination of events can occur. The following is the Pascal Triangle up to n = 7.

1. n = 0 (p+q)0
2. n = 1 (p+q)1
3. n = 2 (p+q)2
4. n = 3 (p+q)3
5. n = 4 (p+q)4
6. n = 5 (p+q)5
7. n = 6 (p+q)6
8. n = 7 (p+q)7