Difference between revisions of "Bill's Triangle"

m (Why is this useful?)
 
(26 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
==How to Make Bill's Triangle==
 
==How to Make Bill's Triangle==
  
As with Pascal's Triangle, we start with a complete row of zeros. However, in Bill's Triangle, we need another row:
+
As with [[Pascal's Triangle]], we start with a complete row of zeros. However, in Bill's Triangle, we need another row:
  
 
<cmath>0, 0</cmath>
 
<cmath>0, 0</cmath>
Line 11: Line 11:
  
 
<cmath>0, 0</cmath>
 
<cmath>0, 0</cmath>
$0, 1, 0<cmath>
+
<cmath>0, 1, 0</cmath>
  
 
Now, we can add the top three numbers to get the next number. The boxed numbers are the ones we add to get the next row.
 
Now, we can add the top three numbers to get the next number. The boxed numbers are the ones we add to get the next row.
  
</cmath>boxed{0}, \boxed{0}<cmath>
+
<cmath>\boxed{0}, 0</cmath>
</cmath>0, \boxed{1}, 0<cmath>
+
<cmath>\boxed{0}, \boxed{1}, 0</cmath>
</cmath>\downarrow<cmath>
+
 
</cmath>
+
We add <math>0 + 0 + 1 = 1,</math> so that is the next number. We also add these numbers:
 +
 
 +
<cmath>0, \boxed{0}</cmath>
 +
<cmath>0, \boxed{1}, \boxed{0}</cmath>
 +
 
 +
Therefore, the first few rows of Bill's Triangle are
 +
 
 +
<cmath>0, 0</cmath>
 +
<cmath>0, 1, 0</cmath>
 +
<cmath>0, 1, 1, 0</cmath>
 +
 
 +
We could keep adding zeroes, but as with Pascal's Triangle, we can get rid of them. Hopefully, by now you have gotten the "gist" of Bill's Triangle, and we can proceed to calculate the next few rows:
 +
 
 +
<cmath>1</cmath>
 +
<cmath>1 , 1</cmath>
 +
<cmath>1 , 3 , 1</cmath>
 +
<cmath>1 , 5 , 5 , 1</cmath>
 +
<cmath>1 , 7 , 13 , 7 , 1</cmath>
 +
<cmath>1 , 9 , 25 , 25 , 9 , 1</cmath>
 +
<cmath>1, 11, 41, 63, 41, 11, 1</cmath>
 +
<cmath>\vdots</cmath>
 +
 
 +
==Why is this useful?==
 +
 
 +
Bill's Triangle counts paths on a grid, just like Pascal's Triangle. While Pascal's Triangle counts the number of ways to get from point <math>A</math> to point <math>B</math> on a grid, if you are only allowed to go vertically and horizontally. Bill's Triangle allows you to go diagonally, like in this grid:
 +
 
 +
<center><asy>
 +
for (int i = 0; i <= 8; i += 1) {
 +
    for (int j = 0; j <= 8; j += 1) {
 +
        draw((0,j)--(i,j));
 +
        draw((i,0)--(i,j));
 +
    }
 +
}
 +
for (int j = 0; j <= 8; j += 1) {
 +
    draw((0,8-j)--(j,8));
 +
    draw((8-j,0)--(8,j));
 +
}
 +
</asy></center>

Latest revision as of 19:25, 12 December 2017

Bill's Triangle is a triangle similar to Pascal's Triangle, except each number is obtained by adding the top three numbers, not just the top two. It was found by Bill9000. (If anyone finds someone who found this triangle before, please tell Bill9000.)

How to Make Bill's Triangle

As with Pascal's Triangle, we start with a complete row of zeros. However, in Bill's Triangle, we need another row:

\[0, 0\] \[0, 0, 0\]

Again, as with Pascal's Triangle, we change a zero to a one:

\[0, 0\] \[0, 1, 0\]

Now, we can add the top three numbers to get the next number. The boxed numbers are the ones we add to get the next row.

\[\boxed{0}, 0\] \[\boxed{0}, \boxed{1}, 0\]

We add $0 + 0 + 1 = 1,$ so that is the next number. We also add these numbers:

\[0, \boxed{0}\] \[0, \boxed{1}, \boxed{0}\]

Therefore, the first few rows of Bill's Triangle are

\[0, 0\] \[0, 1, 0\] \[0, 1, 1, 0\]

We could keep adding zeroes, but as with Pascal's Triangle, we can get rid of them. Hopefully, by now you have gotten the "gist" of Bill's Triangle, and we can proceed to calculate the next few rows:

\[1\] \[1 , 1\] \[1 , 3 , 1\] \[1 , 5 , 5 , 1\] \[1 , 7 , 13 , 7 , 1\] \[1 , 9 , 25 , 25 , 9 , 1\] \[1, 11, 41, 63, 41, 11, 1\] \[\vdots\]

Why is this useful?

Bill's Triangle counts paths on a grid, just like Pascal's Triangle. While Pascal's Triangle counts the number of ways to get from point $A$ to point $B$ on a grid, if you are only allowed to go vertically and horizontally. Bill's Triangle allows you to go diagonally, like in this grid:

[asy] for (int i = 0; i <= 8; i += 1) {     for (int j = 0; j <= 8; j += 1) {         draw((0,j)--(i,j));         draw((i,0)--(i,j));     } } for (int j = 0; j <= 8; j += 1) {     draw((0,8-j)--(j,8));     draw((8-j,0)--(8,j)); } [/asy]