Difference between revisions of "Bill's Triangle"
(→Why is this useful?) |
m (→Why is this useful?) |
||
(15 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 39: | Line 39: | ||
<cmath>1, 11, 41, 63, 41, 11, 1</cmath> | <cmath>1, 11, 41, 63, 41, 11, 1</cmath> | ||
<cmath>\vdots</cmath> | <cmath>\vdots</cmath> | ||
− | |||
==Why is this useful?== | ==Why is this useful?== | ||
Line 45: | Line 44: | ||
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: | 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: | ||
− | <asy> | + | <center><asy> |
− | + | for (int i = 0; i <= 8; i += 1) { | |
− | for (int i = 0; i <= | + | for (int j = 0; j <= 8; j += 1) { |
− | for (int j = 0; j <= 8; += 1) { | + | draw((0,j)--(i,j)); |
− | draw(( | + | draw((i,0)--(i,j)); |
} | } | ||
} | } | ||
− | </asy> | + | 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 20: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:
Again, as with Pascal's Triangle, we change a zero to a one:
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.
We add so that is the next number. We also add these numbers:
Therefore, the first few rows of Bill's Triangle are
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:
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 to point
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]](http://latex.artofproblemsolving.com/2/2/b/22b63db3cac762e9a8cbfb3e5f0daa7d05b6ea03.png)