First we want to look at Pascal’s triangle and see how it is
generated. To generate the triangle, we will write down the number one and then
we move on to a new row where we write the number \(1\) twice. After this, we
notice that each row must begin and end with the number one. To calculate the
numbers in each row we will have to add the two numbers above that are on the
left and right. You can create as many rows as you want.