Pascal's Triangle - An Overview!


Pascal's triangle is a geometric arrangement of the binomial coefficients in a triangle. Pascal's Triangle is named after Blaise Pascal in much of the western world, although other mathematicians studied it centuries before him in India, Persia, China, and Italy.but Blaise Pascal was the first person to discover the importance of all of the patterns it contained.


At the tip of Pascal's Triangle is the number 1, which makes up the zeroth row. The first row (1 & 1) contains two 1's, both formed by adding the two numbers above them to the left and the right, in this case 1 and 0 (all numbers outside the Triangle are 0's). Do the same to create the 2nd row: 0+1=1; 1+1=2; 1+0=1. And the third: 0+1=1; 1+2=3; 2+1=3; 1+0=1. In this way, the rows of the triangle go on infinitly. A number in the triangle can also be found by nCr (n Choose r) where n is the number of the row and r is the element in that row. For example, in row 3, 1 is the zeroth element, 3 is element number 1, the next three is the 2nd element, and the last 1 is the 3rd element. The formula for nCr is:


Now you can easily search for the right code for C++, from Google. Hope this would help u in assignments.


Adnan said...

bRo.wE rEaLLy nEEd tHat.

Anonymous said...

I really appreciate the fact that you've set up your own blog and have factually posted your thoughts. I admire your work and feel I can concern to what you've done. Most people can't even imagine having such talent. I hope that you know how lucky you are. :) Good luck to you in all your undertakings. :)

Anonymous said...

Woah! I'm really enjoying the template/theme of this website. It's simple, yet effective.

A lot of times it's very hard to get that "perfect balance" between usability and visual appeal. I must say you've done a great job with this.
Also, the blog loads extremely quick for me on Opera. Exceptional Blog!

My webpage ... chapter 13 Bankruptcy florida

Anonymous said...

Whats uρ very coοl website!! Маn .

. Εxсellent .. Αmazing .. I'll bookmark your site and take the feeds additionally? I'm happу tο fіnԁ a lot of usеful
information here wіthin the submit, ωe want ԁeѵеlop еxtrа strategiеs in this
rеgarԁ, thank you foг sharing.
. . . . .

Feel fгее to surf to my webpage .
.. 888 Poker Bonus

Anonymous said...

Terrіfic work! Thiѕ іs the kind οf infоrmatiοn that are supposed to be sharеd аcroѕs the іntеrnet.
Shаme on Goοgle foг not pοѕitіoning this
submit upper! Come on oѵer and seeκ advice
from my sitе . Thanks =)

Heгe iѕ my wеblog: AmericasCardRoom Bonus ()

Blog Widget by LinkWithin